summaryrefslogtreecommitdiffstats
path: root/src/CheckBasicStyle.lua
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-27 14:12:49 +0200
committerMattes D <github@xoft.cz>2014-08-27 14:12:49 +0200
commitbc44b96059291629b2bc6d1f6c71492fdc1974ed (patch)
tree89bc3480865630a6770ae1b1665ef5e1f8cedb2a /src/CheckBasicStyle.lua
parentMerge pull request #1345 from mc-server/DungeonRoomsFinisher (diff)
downloadcuberite-bc44b96059291629b2bc6d1f6c71492fdc1974ed.tar
cuberite-bc44b96059291629b2bc6d1f6c71492fdc1974ed.tar.gz
cuberite-bc44b96059291629b2bc6d1f6c71492fdc1974ed.tar.bz2
cuberite-bc44b96059291629b2bc6d1f6c71492fdc1974ed.tar.lz
cuberite-bc44b96059291629b2bc6d1f6c71492fdc1974ed.tar.xz
cuberite-bc44b96059291629b2bc6d1f6c71492fdc1974ed.tar.zst
cuberite-bc44b96059291629b2bc6d1f6c71492fdc1974ed.zip
Diffstat (limited to '')
-rw-r--r--src/CheckBasicStyle.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CheckBasicStyle.lua b/src/CheckBasicStyle.lua
index bf81a7cd5..08f014e33 100644
--- a/src/CheckBasicStyle.lua
+++ b/src/CheckBasicStyle.lua
@@ -108,7 +108,7 @@ local g_ViolationPatterns =
-- Check that all commas have spaces after them and not in front of them:
{" ,", "Extra space before a \",\""},
- {",[^%s\"%%]", "Needs a space after a \",\""}, -- Report all except >> "," << needed for splitting and >>,%s<< needed for formatting
+ {",[^%s\"%%\']", "Needs a space after a \",\""}, -- Report all except >> "," << needed for splitting and >>,%s<< needed for formatting
-- Check that opening braces are not at the end of a code line:
{"[^%s].-{\n?$", "Brace should be on a separate line"},