Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
aff56297
Commit
aff56297
authored
Apr 08, 2011
by
Houtan Bastani
Browse files
bug fix: nonstationary vars and tex names
parent
d8b91ab0
Changes
1
Hide whitespace changes
Inline
Side-by-side
preprocessor/ParsingDriver.cc
View file @
aff56297
...
...
@@ -315,7 +315,10 @@ ParsingDriver::add_expression_variable(string *name)
void
ParsingDriver
::
declare_nonstationary_var
(
string
*
name
,
string
*
tex_name
)
{
declare_endogenous
(
new
string
(
*
name
),
tex_name
);
if
(
tex_name
!=
NULL
)
declare_endogenous
(
new
string
(
*
name
),
new
string
(
*
tex_name
));
else
declare_endogenous
(
new
string
(
*
name
),
tex_name
);
declared_nonstationary_vars
.
push_back
(
mod_file
->
symbol_table
.
getID
(
*
name
));
mod_file
->
nonstationary_variables
=
true
;
delete
name
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment