On Fri, 14 Aug 2020, Sven Schreiber wrote:
I've just noticed that the old-style "=" boolean operator has been
deprecated already for 3.5 years (2017a). I suggest to declare it
illegal in the next release.
OK, good idea, that's done in git.
Somewhat related in terms of deprecation, I noticed the following
problem with the old-style (and illegal) "end loop" instead of
"endloop". Consider this script:
set verbose off
end loop # illegal
if "hey" == "hey"
Run it for the first time, and gretl will complain about "end loop".
Fine. Now comment out the two lines of the loop and run the script
again; what I get is just an echo of the script lines with added ">"
characters, but no other reaction or printout from the interpreter.
Although an error was flagged by the tokenizer, the state variable
indicating that the interpreter was in the process of compiling a
loop was not reverted -- so any further input was considered as part
of an unfinished loop.
That's now fixed in git.