From b6a33cf4c6c66d364986d7f652c8574953fac4d9 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 8 Feb 2012 09:47:20 -0700 Subject: Fixed lexer issue on -, precidence of comparisons. --- src/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser.y') 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 %left NOT %right '=' tokPlusAssign tokMinusAssign tokTimesAssign tokDivideAssign %left tokIn tokAnd tokOr +%right '<' '>' tokLtEq tokGtEq tokCmp %left '-' '+' %left '*' '/' -%right '<' '>' tokLtEq tokGtEq tokCmp %left '(' ')' '[' ']' %left NEG -- cgit v1.2.3