On Wed, 30 Sep 2020, Sven Schreiber wrote:
Am 30.09.20 um 11:16 schrieb Filipe Costa:
> The model appears in the session icons. Now save the session and close
> Gretl. Then reopen the session and you'll see the following message:
>
> 1 session object(s) could not be rebuilt.
>
> And then the model isn't there on the session icons. My gretl version is
> 2020d running on Arch Linux.
Right, I see what you mean. As further output on stderr I get:
parser error : EntityRef: expecting ';'
ERR = kfilter(&kb)
(where the caret ^ is under the closing parenthesis)
From the outside it looks like a relatively easy-to-fix bug...
Yes, it's now fixed in git and snapshots. Thanks for the report,
Filipe.
(The fix means that newly-created session files containing this sort
of model will work OK. Unfortunately it does not mean that
previously created session models containing unescaped "&" can be
read successfully, though they could be hand-edited to make them
readable.)
Allin