From: Tom Lane Date: Sat, 19 Mar 2016 05:02:18 +0000 (-0400) Subject: Use yylex_init not yylex_init_extra(). X-Git-Tag: REL9_6_BETA1~440 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff0a7e6167f475672d82d1cd7cd0d5e735154c4d;p=postgresql Use yylex_init not yylex_init_extra(). Older versions of flex don't have the latter. Per buildfarm. --- diff --git a/src/bin/psql/psqlscan.l b/src/bin/psql/psqlscan.l index 955a4ccadb..56fa337dc7 100644 --- a/src/bin/psql/psqlscan.l +++ b/src/bin/psql/psqlscan.l @@ -893,7 +893,9 @@ psql_scan_create(const PsqlScanCallbacks *callbacks) state->callbacks = callbacks; - yylex_init_extra(state, &state->scanner); + yylex_init(&state->scanner); + + yyset_extra(state, state->scanner); psql_scan_reset(state);