summary refs log tree commit diff stats
path: root/compiler/lexer.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-09-30 18:16:09 +0200
committerAraq <rumpf_a@web.de>2017-09-30 18:32:44 +0200
commit3ccc9c467d84dc8c3412acbea20fc10b5335eaa8 (patch)
treea397e4c0e3b6de4a89a7f71bf7168c166f53c235 /compiler/lexer.nim
parent5cf789ac3fffeb895af3c43c0348c537af00c12e (diff)
downloadNim-3ccc9c467d84dc8c3412acbea20fc10b5335eaa8.tar.gz
'with' and 'without' are not keywords anymore
Diffstat (limited to 'compiler/lexer.nim')
-rw-r--r--compiler/lexer.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/lexer.nim b/compiler/lexer.nim
index 09bcb4ce0..45d090b16 100644
--- a/compiler/lexer.nim
+++ b/compiler/lexer.nim
@@ -48,7 +48,7 @@ type
     tkShl, tkShr, tkStatic,
     tkTemplate,
     tkTry, tkTuple, tkType, tkUsing,
-    tkVar, tkWhen, tkWhile, tkWith, tkWithout, tkXor,
+    tkVar, tkWhen, tkWhile, tkXor,
     tkYield, # end of keywords
     tkIntLit, tkInt8Lit, tkInt16Lit, tkInt32Lit, tkInt64Lit,
     tkUIntLit, tkUInt8Lit, tkUInt16Lit, tkUInt32Lit, tkUInt64Lit,
@@ -89,7 +89,7 @@ const
     "shl", "shr", "static",
     "template",
     "try", "tuple", "type", "using",
-    "var", "when", "while", "with", "without", "xor",
+    "var", "when", "while", "xor",
     "yield",
     "tkIntLit", "tkInt8Lit", "tkInt16Lit", "tkInt32Lit", "tkInt64Lit",
     "tkUIntLit", "tkUInt8Lit", "tkUInt16Lit", "tkUInt32Lit", "tkUInt64Lit",