summaryrefslogtreecommitdiffstats
path: root/src/CheckBasicStyle.lua
diff options
context:
space:
mode:
authorHownaer <franzi.moos@googlemail.com>2014-08-28 18:58:58 +0200
committerHownaer <franzi.moos@googlemail.com>2014-08-28 18:58:58 +0200
commitc2260addf4ede896695ad1212592912b2f3e1ed4 (patch)
treeb4e4943d4b3df7febf9d53a1ec5d54b61298ca0b /src/CheckBasicStyle.lua
parentFixed anvil placing. (diff)
parentMerge pull request #1323 from mc-server/CraftingFixes (diff)
downloadcuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar
cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.gz
cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.bz2
cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.lz
cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.xz
cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.zst
cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.zip
Diffstat (limited to '')
-rw-r--r--src/CheckBasicStyle.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CheckBasicStyle.lua b/src/CheckBasicStyle.lua
index 08f014e33..b244b1fbc 100644
--- a/src/CheckBasicStyle.lua
+++ b/src/CheckBasicStyle.lua
@@ -119,6 +119,7 @@ local g_ViolationPatterns =
{"while%(", "Needs a space after \"while\""},
{"switch%(", "Needs a space after \"switch\""},
{"catch%(", "Needs a space after \"catch\""},
+ {"template<", "Needs a space after \"template\""},
-- No space after keyword's parenthesis:
{"[^%a#]if %( ", "Remove the space after \"(\""},