diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-12-11 18:04:28 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-12-11 18:04:28 -0500 |
commit | 15b3722700ca043494804dfd1fe7556c50d4f9e9 (patch) | |
tree | 9e9535882d47c4a2255e4f09990183286c86d813 /src/interfaces/ecpg/preproc/variable.c | |
parent | 4262c5b1eecc63f12f86daa293428009eee54b5c (diff) | |
download | postgresql-15b3722700ca043494804dfd1fe7556c50d4f9e9.tar.gz postgresql-15b3722700ca043494804dfd1fe7556c50d4f9e9.zip |
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
Diffstat (limited to 'src/interfaces/ecpg/preproc/variable.c')
-rw-r--r-- | src/interfaces/ecpg/preproc/variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/variable.c b/src/interfaces/ecpg/preproc/variable.c index bb4b664b859..232b9409388 100644 --- a/src/interfaces/ecpg/preproc/variable.c +++ b/src/interfaces/ecpg/preproc/variable.c @@ -452,7 +452,7 @@ dump_variables(struct arguments * list, int mode) dump_variables(list->next, mode); /* Then the current element and its indicator */ - ECPGdump_a_type(yyout, list->variable->name, list->variable->type, list->variable->brace_level, + ECPGdump_a_type(base_yyout, list->variable->name, list->variable->type, list->variable->brace_level, list->indicator->name, list->indicator->type, list->indicator->brace_level, NULL, NULL, str_zero, NULL, NULL); |