Merge pull request #4525 from roose/parsecfg

Add dash to SymChars
This commit is contained in:
Andreas Rumpf
2016-07-28 11:07:58 +02:00
committed by GitHub

View File

@@ -131,7 +131,7 @@ type
# implementation
const
SymChars = {'a'..'z', 'A'..'Z', '0'..'9', '_', '\x80'..'\xFF', '.', '/', '\\'}
SymChars = {'a'..'z', 'A'..'Z', '0'..'9', '_', '\x80'..'\xFF', '.', '/', '\\', '-'}
proc rawGetTok(c: var CfgParser, tok: var Token) {.gcsafe.}