On 9/26/09, Peter Eisentraut <peter_e@gmx.net> wrote:
> On Sat, 2009-09-26 at 00:18 +0300, Marko Kreen wrote:
> > On 9/26/09, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > > Maybe it doesn't "need" to know, but I think it would be disastrous from
> > > a maintenance standpoint to not keep the two sets of flex rules in
> > > strict correspondence. It would soon become unclear whether or how to
> > > apply changes in the backend lexer to psql.
> >
> > Patch attached.
>
>
> That patch results in the following message from flex:
>
> psqlscan.l:1039: warning, -s option given but default rule can be
> matched
Agh. Well, that just means the <xeu> state must be commented out:
-%x xeu+/* %x xeu */
--
marko