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

Back-patch commit 92fb64983 into the pre-9.6 branches.

Without this, ecpg fails to build with the latest version of flex.
It's not unreasonable that people would want to compile our old branches
with recent tools.  Per report from Дилян Палаузов.

Discussion: https://postgr.es/m/[email protected]

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/fb12471ebec11417d49e705e8cb77baaa53f0473

Modified Files
--------------
src/interfaces/ecpg/preproc/descriptor.c | 31 ++++++++-------
src/interfaces/ecpg/preproc/ecpg.addons  | 30 +++++++-------
src/interfaces/ecpg/preproc/ecpg.c       | 40 +++++++++----------
src/interfaces/ecpg/preproc/ecpg.header  | 12 +++---
src/interfaces/ecpg/preproc/ecpg.trailer | 18 ++++-----
src/interfaces/ecpg/preproc/extern.h     | 10 ++---
src/interfaces/ecpg/preproc/output.c     | 66 +++++++++++++++----------------
src/interfaces/ecpg/preproc/pgc.l        | 68 ++++++++++++++------------------
src/interfaces/ecpg/preproc/variable.c   |  2 +-
9 files changed, 136 insertions(+), 141 deletions(-)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to