Skip to content

Commit

Permalink
Fix operator precedence for =>
Browse files Browse the repository at this point in the history
refs #8030
  • Loading branch information
gunnarbeutner committed Dec 13, 2014
1 parent 7ffa3df commit c0f6d65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/config/config_parser.yy
Expand Up @@ -202,6 +202,7 @@ static void MakeRBinaryOp(Expression** result, Expression *left, Expression *rig
%type <cvitem> use_specifier_item
%type <num> object_declaration

%right T_FOLLOWS
%right T_INCLUDE T_INCLUDE_RECURSIVE T_OBJECT T_TEMPLATE T_APPLY T_IMPORT T_ASSIGN T_IGNORE T_WHERE
%right T_FUNCTION T_SIGNAL T_FOR
%left T_LOGICAL_OR
Expand All @@ -222,7 +223,7 @@ static void MakeRBinaryOp(Expression** result, Expression *left, Expression *rig
%right '!' '~'
%left '.' '(' '['
%right ';' ','
%right T_NEWLINE T_FOLLOWS
%right T_NEWLINE
%{

int yylex(YYSTYPE *lvalp, YYLTYPE *llocp, void *scanner);
Expand Down

0 comments on commit c0f6d65

Please sign in to comment.