Improve error messages related to an equation number
There are various places (like the detrending engine) where Dynare outputs an error message referring to an equation number.
Unfortunately it is very difficult for the user to find the corresponding equation in the MOD file if there are lots of equations.
A solution would be to display the line number of the equation. This information can probably be computed in ParsingDriver
and stored somewhere.