Skip to content
  • Houtan Bastani's avatar
    support saving exogenous variables in `dynasave`, `dynasave`; fix bugs in `dynasave`; add test · bf102030
    Houtan Bastani authored
    - `dynasave`: if a variable being saved was named `n` or `s`, the `eval` statements would break the code
    - `dynasave`: use the `-struct` option to `save` to avoid `eval` statements
    - `dynasave` and `dynatype`: do everything in 1 loop instead of 2
    - `dynasave` and `dynatype`: use `strcmp` instead of `strfind`
    
    - preprocessor update contains:
      - Partial reversion of global indentation of macro processor header files introduced in e2d5a83592634f0604d8c86409748cd2ec5906d2
      - Symbol List check pass: allow caller to specify the valid types of variables in a Symbol List
      - Allow `dynasave` and `dynatype` to support exogenous variables in their var_list
    
    issue #1691
    bf102030