summary refs log tree commit diff stats
path: root/compiler/lexer.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-02-28 19:56:41 +0100
committerAndreas Rumpf <rumpf_a@web.de>2016-02-28 19:56:41 +0100
commit38dee2095c3b04e0f6eb8e5e9751ab7b4755d3e8 (patch)
tree2575438b6bb9016592186d19456a91e9c9205264 /compiler/lexer.nim
parent7ae45ea4202a71df134dbe0ca74c0b944dc1f48a (diff)
downloadNim-38dee2095c3b04e0f6eb8e5e9751ab7b4755d3e8.tar.gz
added 'sig' feature; removed tfShared support in the compiler
Diffstat (limited to 'compiler/lexer.nim')
-rw-r--r--compiler/lexer.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/lexer.nim b/compiler/lexer.nim
index fc43f8d6a..8362436d8 100644
--- a/compiler/lexer.nim
+++ b/compiler/lexer.nim
@@ -44,7 +44,8 @@ type
     tkLet,
     tkMacro, tkMethod, tkMixin, tkMod, tkNil, tkNot, tkNotin,
     tkObject, tkOf, tkOr, tkOut,
-    tkProc, tkPtr, tkRaise, tkRef, tkReturn, tkShl, tkShr, tkStatic,
+    tkProc, tkPtr, tkRaise, tkRef, tkReturn,
+    tkShl, tkShr, tkSig, tkStatic,
     tkTemplate,
     tkTry, tkTuple, tkType, tkUsing,
     tkVar, tkWhen, tkWhile, tkWith, tkWithout, tkXor,
@@ -81,7 +82,7 @@ const
     "macro", "method", "mixin", "mod",
     "nil", "not", "notin", "object", "of", "or",
     "out", "proc", "ptr", "raise", "ref", "return",
-    "shl", "shr", "static",
+    "shl", "shr", "sig", "static",
     "template",
     "try", "tuple", "type", "using",
     "var", "when", "while", "with", "without", "xor",