Re: Doing psql's lexing with flex

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Doing psql's lexing with flex
Date: 2004-02-18 16:32:54
Message-ID: 24094.1077121974@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Hans-Jürgen Schönig 2004-02-18 17:14:15 NO WAIT ...
Previous Message Bruce Momjian 2004-02-18 16:25:20 Re: [PATCHES] win32 setitimer implementation