summary refs log tree commit diff stats
path: root/compiler/parser.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-07-31 00:21:32 +0200
committerAraq <rumpf_a@web.de>2011-07-31 00:21:32 +0200
commit6a8a409f1b8694e380e27afddff3cd9c29452b8c (patch)
tree4dcda408e2db40d0ce6b243c74d9160cad54c6c1 /compiler/parser.nim
parent2d62738bbb5e7a664fab3f7a49313b5fb839a47c (diff)
downloadNim-6a8a409f1b8694e380e27afddff3cd9c29452b8c.tar.gz
preparation for new 'is' operator; breaks bootstrapping again, sorry (use generated C code)
Diffstat (limited to 'compiler/parser.nim')
-rwxr-xr-xcompiler/parser.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser.nim b/compiler/parser.nim
index aca891863..003bd9219 100755
--- a/compiler/parser.nim
+++ b/compiler/parser.nim
@@ -154,7 +154,7 @@ proc getPrecedence(tok: TToken): int =
     of '.': result = 5
     else: result = 1
   of tkDiv, tkMod, tkShl, tkShr: result = 8
-  of tkIn, tkNotIn, tkIs, tkIsNot, tkNot: result = 4
+  of tkIn, tkNotIn, tkIs, tkIsNot, tkNot, tkOf: result = 4
   of tkDotDot: result = 5
   of tkAnd: result = 3
   of tkOr, tkXor: result = 2