summaryrefslogtreecommitdiffstats
path: root/src/CheckBasicStyle.lua
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-12-22 17:39:09 +0100
committerAlexander Harkness <me@bearbin.net>2015-12-22 17:39:09 +0100
commit2b27bf9f2259522007b1edfdd6576be1555cee19 (patch)
tree9b1e21d1f225e64ac7c9b87dfa29daef6d1a66be /src/CheckBasicStyle.lua
parentMerge pull request #2788 from SafwatHalaby/jump (diff)
parentAdded GeoTrust Root Certificate (diff)
downloadcuberite-2b27bf9f2259522007b1edfdd6576be1555cee19.tar
cuberite-2b27bf9f2259522007b1edfdd6576be1555cee19.tar.gz
cuberite-2b27bf9f2259522007b1edfdd6576be1555cee19.tar.bz2
cuberite-2b27bf9f2259522007b1edfdd6576be1555cee19.tar.lz
cuberite-2b27bf9f2259522007b1edfdd6576be1555cee19.tar.xz
cuberite-2b27bf9f2259522007b1edfdd6576be1555cee19.tar.zst
cuberite-2b27bf9f2259522007b1edfdd6576be1555cee19.zip
Diffstat (limited to 'src/CheckBasicStyle.lua')
-rwxr-xr-xsrc/CheckBasicStyle.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CheckBasicStyle.lua b/src/CheckBasicStyle.lua
index 3f0d2bd45..81968688c 100755
--- a/src/CheckBasicStyle.lua
+++ b/src/CheckBasicStyle.lua
@@ -194,7 +194,7 @@ local g_ViolationPatterns =
-- Check spaces around "==", "<=" and ">=":
{"==[a-zA-Z0-9]+", "Add space after =="},
- {"[a-zA-Z0-9]+==", "Add space before =="},
+ {"[a-zA-Z0-9]+==[^\\]", "Add space before =="},
{"<=[a-zA-Z0-9]+", "Add space after <="},
{"[a-zA-Z0-9]+<=", "Add space before <="},
{">=[a-zA-Z0-9]+", "Add space after >="},