1
0

CheckBasicStyle: Relaxed the "space after comma".

An apostrophe directly following a comma is not a violation.
This commit is contained in:
Mattes D 2014-08-27 15:12:49 +03:00
parent 4a907c9efa
commit bc44b96059

View File

@ -108,7 +108,7 @@ local g_ViolationPatterns =
-- Check that all commas have spaces after them and not in front of them: -- Check that all commas have spaces after them and not in front of them:
{" ,", "Extra space before a \",\""}, {" ,", "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: -- Check that opening braces are not at the end of a code line:
{"[^%s].-{\n?$", "Brace should be on a separate line"}, {"[^%s].-{\n?$", "Brace should be on a separate line"},