Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> We could just add -b unconditionally to the flex flags and then count
> the number of lines in lex.backup. If it's greater that 1 whine loudly,
> or even fail, otherwise remove lex.backup. Would that avoid locale
> dependencies?
Hm, yeah, seems like that ought to work.
I'm tempted to add "-p -p" also, even though that only results in some
whinging on stderr. It would still probably get noticed by anyone who
was changing the lexer.
regards, tom lane