20 Mar
2011
20 Mar
'11
3:19 a.m.
Brian Candler wrote:
Just a minor point: unlang accepts the syntax
if (Foo !* "any") { ... }
but it doesn't behave in the same way as !* in a 'users' file.
OK.
But I think it would be better if it rejected them outright as a syntax error if you tried to use them. It has caused some local confusion recently.
Generating a syntax error is problematic, as the parsing is done at run time. I can go poke it so that the complaints about an unsupported operator are more visible in debugging mode. Alan DeKok.