Re: 9.5 / Re: base_yylex undefined in src/interface/ecpg/preproc/parser.c

Дилян Палаузов <dilyan.palauzov@aegee.org>

From: Дилян Палаузов <dilyan.palauzov@aegee.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgreSQL.org
Date: 2016-12-11T20:53:25Z
Lists: pgsql-bugs
Hello Tom,

here: https://github.com/westes/flex

Greetings
   Дилян

On 12/11/2016 09:50 PM, Tom Lane wrote:
> =?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= <dilyan.palauzov@aegee.org> writes:
>> in fact the problem appears not only with 9.6, but also with Pg 9.5.
>
> I wondered about that --- but the code is rather different in 9.5,
> and I'm hesitant to try to fix it blind.  Where can I find the version
> of flex you're using?
>
> 			regards, tom lane
>


Commits

  1. Use "%option prefix" to set API names in ecpg's lexer.

  2. Build backend/parser/scan.l and interfaces/ecpg/preproc/pgc.l standalone.