On Wed, Aug 14, 2024 at 09:26:36PM +0200, Phil Sutter wrote: [...] > Maybe one could introduce a start condition which allows strings, but > it might turn into a mess given the wide use of them. I'll give it a try > and let you know. Looks like I hit a dead end there: For expressions like 'iif', we have to accept STRING on RHS and since I need a token to push SC_STRING, I can't just enable it for all relational expressions. The alternative is to enable it for the whole rule but I can't disable it selectively (as I had to enable it again afterwards without knowing what's next. :( Cheers, Phil