diff options
author | Mattes D <github@xoft.cz> | 2014-12-04 22:44:24 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-12-04 22:44:24 +0100 |
commit | 22a3419791815471bcbbf86e4fa88a92cca1faa8 (patch) | |
tree | f63f5b0e29dc24b7a42969f52f857528f37f11ea /src/CheckBasicStyle.lua | |
parent | Fixed trailing whitespace. (diff) | |
download | cuberite-22a3419791815471bcbbf86e4fa88a92cca1faa8.tar cuberite-22a3419791815471bcbbf86e4fa88a92cca1faa8.tar.gz cuberite-22a3419791815471bcbbf86e4fa88a92cca1faa8.tar.bz2 cuberite-22a3419791815471bcbbf86e4fa88a92cca1faa8.tar.lz cuberite-22a3419791815471bcbbf86e4fa88a92cca1faa8.tar.xz cuberite-22a3419791815471bcbbf86e4fa88a92cca1faa8.tar.zst cuberite-22a3419791815471bcbbf86e4fa88a92cca1faa8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/CheckBasicStyle.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/CheckBasicStyle.lua b/src/CheckBasicStyle.lua index 76ae8c325..ef750e381 100644 --- a/src/CheckBasicStyle.lua +++ b/src/CheckBasicStyle.lua @@ -116,11 +116,11 @@ local g_ViolationPatterns = -- Space after keywords: {"[^_]if%(", "Needs a space after \"if\""}, - {"for%(", "Needs a space after \"for\""}, - {"while%(", "Needs a space after \"while\""}, - {"switch%(", "Needs a space after \"switch\""}, - {"catch%(", "Needs a space after \"catch\""}, - {"template<", "Needs a space after \"template\""}, + {"%sfor%(", "Needs a space after \"for\""}, + {"%swhile%(", "Needs a space after \"while\""}, + {"%sswitch%(", "Needs a space after \"switch\""}, + {"%scatch%(", "Needs a space after \"catch\""}, + {"%stemplate<", "Needs a space after \"template\""}, -- No space after keyword's parenthesis: {"[^%a#]if %( ", "Remove the space after \"(\""}, |