diff options
author | Araq <rumpf_a@web.de> | 2011-07-31 00:21:32 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-07-31 00:21:32 +0200 |
commit | 6a8a409f1b8694e380e27afddff3cd9c29452b8c (patch) | |
tree | 4dcda408e2db40d0ce6b243c74d9160cad54c6c1 /compiler/parser.nim | |
parent | 2d62738bbb5e7a664fab3f7a49313b5fb839a47c (diff) | |
download | Nim-6a8a409f1b8694e380e27afddff3cd9c29452b8c.tar.gz |
preparation for new 'is' operator; breaks bootstrapping again, sorry (use generated C code)
Diffstat (limited to 'compiler/parser.nim')
-rwxr-xr-x | compiler/parser.nim | 2 |
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 |