diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-02-08 09:47:20 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-02-08 09:47:20 -0700 |
commit | b6a33cf4c6c66d364986d7f652c8574953fac4d9 (patch) | |
tree | d18e84ec3750ff774239dd73f724a2005889b9b8 /src/parser.y | |
parent | 33b6c34a20545222088f645bbc3cc5610f7cc782 (diff) | |
download | stage-b6a33cf4c6c66d364986d7f652c8574953fac4d9.tar.gz stage-b6a33cf4c6c66d364986d7f652c8574953fac4d9.tar.bz2 stage-b6a33cf4c6c66d364986d7f652c8574953fac4d9.tar.xz stage-b6a33cf4c6c66d364986d7f652c8574953fac4d9.zip |
Fixed lexer issue on -, precidence of comparisons.
Diffstat (limited to 'src/parser.y')
-rw-r--r-- | src/parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.y b/src/parser.y index 47c0159..0358e48 100644 --- a/src/parser.y +++ b/src/parser.y | |||
@@ -87,9 +87,9 @@ void yyerror( YYLTYPE *llocp, yyscan_t yyscanner, GameBuilder &, const char *err | |||
87 | %left NOT | 87 | %left NOT |
88 | %right '=' tokPlusAssign tokMinusAssign tokTimesAssign tokDivideAssign | 88 | %right '=' tokPlusAssign tokMinusAssign tokTimesAssign tokDivideAssign |
89 | %left tokIn tokAnd tokOr | 89 | %left tokIn tokAnd tokOr |
90 | %right '<' '>' tokLtEq tokGtEq tokCmp | ||
90 | %left '-' '+' | 91 | %left '-' '+' |
91 | %left '*' '/' | 92 | %left '*' '/' |
92 | %right '<' '>' tokLtEq tokGtEq tokCmp | ||
93 | %left '(' ')' '[' ']' | 93 | %left '(' ')' '[' ']' |
94 | %left NEG | 94 | %left NEG |
95 | 95 | ||