]> granicus.if.org Git - postgresql/commit
Use "%option prefix" to set API names in ecpg's lexer.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 Dec 2016 23:04:28 +0000 (18:04 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 Dec 2016 23:04:28 +0000 (18:04 -0500)
commit15b3722700ca043494804dfd1fe7556c50d4f9e9
tree9e9535882d47c4a2255e4f09990183286c86d813
parent4262c5b1eecc63f12f86daa293428009eee54b5c
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/d845c1af-e18d-6651-178f-9f08cdf37e10@aegee.org
src/interfaces/ecpg/preproc/descriptor.c
src/interfaces/ecpg/preproc/ecpg.addons
src/interfaces/ecpg/preproc/ecpg.c
src/interfaces/ecpg/preproc/ecpg.header
src/interfaces/ecpg/preproc/ecpg.trailer
src/interfaces/ecpg/preproc/extern.h
src/interfaces/ecpg/preproc/output.c
src/interfaces/ecpg/preproc/parser.c
src/interfaces/ecpg/preproc/pgc.l
src/interfaces/ecpg/preproc/variable.c