Skip to content
Snippets Groups Projects
Verified Commit 2a9c4b23 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

maintain order of macro variables defined on command line when writing them to the .mod file

Before this commit, a dynare call such as
```
dynare <<mod file>> -Db=“A” -Da=@{b}
```
would not expand the value of `b` in `a` whereas
```
dynare <<mod file>> -Da=“A” -Db=@{a}
```
would expand the value of `a` into `b` because the arguments were stored in a map which printed the `@#define` statements in the .mod file in alphabetic order.
parent 4d287a94
No related merge requests found
Pipeline #1115 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment