summary refs log tree commit diff stats
path: root/compiler/nimconf.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-07-22 16:52:58 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-07-22 16:52:58 +0200
commit3862651d4423e0419067f4cb036f37eee7948b29 (patch)
tree08c251204f022c89ad0d966d914524f1e8d75928 /compiler/nimconf.nim
parentcb0d65280ff77efb751cf24d5e6dd318d12de94a (diff)
downloadNim-3862651d4423e0419067f4cb036f37eee7948b29.tar.gz
fixes #499
Diffstat (limited to 'compiler/nimconf.nim')
-rw-r--r--compiler/nimconf.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimconf.nim b/compiler/nimconf.nim
index 808159b8f..c19b41af1 100644
--- a/compiler/nimconf.nim
+++ b/compiler/nimconf.nim
@@ -152,7 +152,7 @@ proc confTok(L: var TLexer, tok: var TToken; config: ConfigRef) =
     parseDirective(L, tok, config)    # else: give the token to the parser
 
 proc checkSymbol(L: TLexer, tok: TToken) =
-  if tok.tokType notin {tkSymbol..pred(tkIntLit), tkStrLit..tkTripleStrLit}:
+  if tok.tokType notin {tkSymbol..tkInt64Lit, tkStrLit..tkTripleStrLit}:
     lexMessage(L, errIdentifierExpected, tokToStr(tok))
 
 proc parseAssignment(L: var TLexer, tok: var TToken; config: ConfigRef) =