Skip to content
Snippets Groups Projects
Select Git revision
  • 75a26b6d111fcf24df7c9aea842f82a62321c347
  • master default protected
  • pac_composite_target_mce
  • ramsey_k_order
  • 4.6
  • occbin
  • uop
  • rework_pac
  • aux_vars_fix
  • created_preprocessor_repo
10 results

macro

Forked from Dynare / preprocessor
682 commits behind the upstream repository.
Sébastien Villemot's avatar
Sébastien Villemot authored
There were two bugs:
– with the LF convention, newlines were counted twice
– with the CR+LF convention, they were counted four times (because the CR was
  included in yyleng, alongside the LF)

The fix consists in implementing a location_increment() method similar to the
one used for the Dynare parser. This is the most robust solution.

By the way, mark the method DynareFlex::location_increment() method static.
1de34765
History