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

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Дилян Палаузов <dilyan.palauzov@aegee.org>
Cc: pgsql-bugs@postgreSQL.org
Date: 2016-12-11T20:50:10Z
Lists: pgsql-bugs
=?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.