Re: help needed with yacc/bison

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: help needed with yacc/bison
Date: 2003-07-02 10:49:46
Message-ID: 1057142985.2414.1.camel@fuji.krosing.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
gram.y text/plain 1.2 KB
lex.l text/plain 416 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 2003-07-02 12:33:51 Re: help with rpm script
Previous Message Behdad Esfahbod 2003-07-02 10:03:54 Re: Setting locale per connection