Removed extended ASCII, and added a check against it. (#4642)
This commit is contained in:
@@ -202,6 +202,9 @@ local g_ViolationPatterns =
|
||||
-- Check if "else" is on the same line as a brace.
|
||||
{"}%s*else", "else has to be on a separate line"},
|
||||
{"else%s*{", "else has to be on a separate line"},
|
||||
|
||||
-- Don't allow characters other than ASCII 0 - 127:
|
||||
{"[" .. string.char(128) .. "-" .. string.char(255) .. "]", "Character in the extended ASCII range (128 - 255) not allowed"},
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user