diff options
author | Araq <rumpf_a@web.de> | 2017-09-30 18:16:09 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-09-30 18:32:44 +0200 |
commit | 3ccc9c467d84dc8c3412acbea20fc10b5335eaa8 (patch) | |
tree | a397e4c0e3b6de4a89a7f71bf7168c166f53c235 /compiler/lexer.nim | |
parent | 5cf789ac3fffeb895af3c43c0348c537af00c12e (diff) | |
download | Nim-3ccc9c467d84dc8c3412acbea20fc10b5335eaa8.tar.gz |
'with' and 'without' are not keywords anymore
Diffstat (limited to 'compiler/lexer.nim')
-rw-r--r-- | compiler/lexer.nim | 4 |
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", |