summaryrefslogtreecommitdiffstats
path: root/src/CheckBasicStyle.lua
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-12-22 17:00:17 +0100
committertycho <work.tycho@gmail.com>2015-12-22 17:08:02 +0100
commitecb94e0dc6ca4870abe781b3fc73a90937fd097f (patch)
treec4d7732308c4ed7d49bc4828f265765a3bb598ea /src/CheckBasicStyle.lua
parentMerge pull request #2788 from SafwatHalaby/jump (diff)
downloadcuberite-ecb94e0dc6ca4870abe781b3fc73a90937fd097f.tar
cuberite-ecb94e0dc6ca4870abe781b3fc73a90937fd097f.tar.gz
cuberite-ecb94e0dc6ca4870abe781b3fc73a90937fd097f.tar.bz2
cuberite-ecb94e0dc6ca4870abe781b3fc73a90937fd097f.tar.lz
cuberite-ecb94e0dc6ca4870abe781b3fc73a90937fd097f.tar.xz
cuberite-ecb94e0dc6ca4870abe781b3fc73a90937fd097f.tar.zst
cuberite-ecb94e0dc6ca4870abe781b3fc73a90937fd097f.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 >="},