On Tue, 5 Oct 2021, Sven Schreiber wrote:
Hi,
I just had to debug a script which failed with a generic "data error".
Gretl correctly indicated the failing line "k++", but it took me a while
to find out that k was undefined at that point. If the error message had
been "unknown object 'k'", it would have been much easier.
Uhm. We do catch that special case: it's the "else" branch in
undefined_symbol_error() from lib/src/genlex.c, where we store the
appropriate message string into the parser struct. The trouble is, it
doesn't get printed, for some reason.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------