Browse Source

Function calls have higher precedence than unary operators

pull/6/head
Max Brunsfeld 9 years ago
parent
commit
b8509fdf21
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      grammar.js

+ 3
- 3
grammar.js View File

@ -13,9 +13,9 @@ const PREC = {
SHIFT: 9,
ADD: 10,
MULTIPLY: 11,
CALL: 12,
CAST: 13,
UNARY: 14,
CAST: 12,
UNARY: 13,
CALL: 14,
FIELD: 15,
SUBSCRIPT: 16
};

Loading…
Cancel
Save