Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> I think we should put big warning signs on both the backend's and psql's
> .l files saying they must be kept in sync.
Right. I was planning to do that, and also to make some trivial
reformatting in the backend's scan.l to make it easier to compare the
two files by diff. For example, consistently write
pattern {
action;
}
not
pattern { action; }
so that the diffs are confined to the action lines.
regards, tom lane