On Wed, 1 Jun 2016, Sven Schreiber wrote:
Artur and I wanted to try something with Ox, but we ran into an
error message about an "unmatched {". See this example:
<hansl>
function void heyho(void)
foreign language=Ox
main()
{
}
end foreign
end function
heyho()
</hansl>
It seems the gretl parser is trying to enforce its rules for other
foreign languages as well.
Some months ago the script that now produces this error worked (I
think). The error appears both on Win and on Linux.
This seems to be specific to using Ox (and presumably other languages,
if relevant) inside a function. If you put the same foreign-Ox code
into the "main" portion of a hansl script it works OK. I'll look into
it.
Allin