Commit 6c0480d7 authored by sebastien's avatar sebastien
Browse files

trunk: fixed bug in operator precedence in macro-processor (+ and - had...

trunk: fixed bug in operator precedence in macro-processor (+ and - had highest precedence than * and /, colon (:) precedence was too high)


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2298 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 4d9b1869
......@@ -85,13 +85,12 @@ class MacroDriver;
%left LOGICAL_OR
%left LOGICAL_AND
%left LESS GREATER LESS_EQUAL GREATER_EQUAL EQUAL_EQUAL EXCLAMATION_EQUAL
%left TIMES DIVIDE
%nonassoc COLON
%left PLUS MINUS
%left TIMES DIVIDE
%left UMINUS UPLUS EXCLAMATION
%left LBRACKET
%nonassoc COLON
%type <mv> expr array_expr
%%
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment