parent
503d2baa89
commit
96e973a07f
|
@ -42,19 +42,19 @@ class ParsingDriver;
|
|||
do { \
|
||||
if (N) \
|
||||
{ \
|
||||
(Current).begin = (Rhs)[1].begin; \
|
||||
(Current).end = (Rhs)[N].end; \
|
||||
(Current).begin = YYRHSLOC(Rhs, 1).begin; \
|
||||
(Current).end = YYRHSLOC(Rhs, N).end; \
|
||||
} \
|
||||
else \
|
||||
{ \
|
||||
(Current).begin = (Current).end = (Rhs)[0].end; \
|
||||
(Current).begin = (Current).end = YYRHSLOC(Rhs, 0).end; \
|
||||
} \
|
||||
driver.location = (Current); \
|
||||
} while(false)
|
||||
|
||||
%}
|
||||
|
||||
%name-prefix="Dynare"
|
||||
%name-prefix "Dynare"
|
||||
|
||||
%parse-param { ParsingDriver &driver }
|
||||
%lex-param { ParsingDriver &driver }
|
||||
|
|
|
@ -35,7 +35,7 @@ using namespace std;
|
|||
class MacroDriver;
|
||||
%}
|
||||
|
||||
%name-prefix="Macro"
|
||||
%name-prefix "Macro"
|
||||
|
||||
%parse-param { MacroDriver &driver }
|
||||
%parse-param { ostream &out }
|
||||
|
|
Loading…
Reference in New Issue