Re: help needed with yacc/bison - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: help needed with yacc/bison
Date
Msg-id 1057142985.2414.1.camel@fuji.krosing.net
Whole thread Raw
In response to Re: help needed with yacc/bison  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
Oleg Bartunov kirjutas K, 02.07.2003 kell 11:39:

> > > The problem is recognizing VERSION
> > > (from gram.y)
> > >
> > > version:
> > >         INTEGER DOT INTEGER    { $$ = strconcat($1, $3, $2); }
> > >         | version DOT INTEGER  { $$ = strconcat($1, $3, $2); }
> >
> > removing the line above seems to fix your problem ;)
>
> No, it's there by intention. VERSION could be not just 7.3 but 7.3.3 :)

Try attached gram.y and lex.l

-----------
Hannu


Attachment

pgsql-hackers by date:

Previous
From: Behdad Esfahbod
Date:
Subject: Re: Setting locale per connection
Next
From: Craig Jensen
Date:
Subject: help with rpm script