When `@#include` is used and an error is encountered, the wrong file is given in the error message
ff.mod
f1.mod
./dynare_m ff.mod
Starting preprocessing of the model file ...
ERROR: f1.mod: line 7, cols 3-4: syntax error, unexpected NAME, expecting ';' or '('
But f1.mod
does not contain the error.
Reported by @stepan-a
Edited by Houtan Bastani