From 6a8a409f1b8694e380e27afddff3cd9c29452b8c Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 31 Jul 2011 00:21:32 +0200 Subject: preparation for new 'is' operator; breaks bootstrapping again, sorry (use generated C code) --- compiler/parser.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/parser.nim') 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 -- cgit 1.4.1-2-gfad0