Re: Doing psql's lexing with flex - Mailing list pgsql-patches

From Tom Lane
Subject Re: Doing psql's lexing with flex
Date
Msg-id 24094.1077121974@sss.pgh.pa.us
Whole thread Raw
In response to Re: Doing psql's lexing with flex  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-patches
Andrew Dunstan <andrew@dunslane.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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: win32 setitimer implementation
Next
From: Hans-Jürgen Schönig
Date:
Subject: NO WAIT ...