v4 preprocessor/macro: minor fix

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1753 ac1d8469-bf42-47a9-8791-bf33cf982152
issue#70
sebastien 2008-03-28 17:45:40 +00:00
parent 9276fcb8b6
commit 95d2118111
2 changed files with 1 additions and 4 deletions

View File

@ -106,7 +106,7 @@ statement_list : statement EOL
;
statement : expr
{ *driver.out_stream << $1->toString(); }
{ out << $1->toString(); }
| DEFINE NAME EQUAL expr
{ driver.set_variable(*$2, $4); delete $2; }
| FOR NAME IN expr

View File

@ -170,9 +170,6 @@ public:
//! Reference to the lexer
class MacroFlex *lexer;
//! Copy of output stream
ostream *out_stream;
//! Used to store the value of the last @if condition
bool last_if;