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
commit f18ff6a033

View file

@ -131,7 +131,7 @@ type
# implementation # implementation
const 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.} proc rawGetTok(c: var CfgParser, tok: var Token) {.gcsafe.}