mirror of
https://github.com/postgres/postgres.git
synced 2026-02-27 20:00:50 -05:00
Use yylex_init not yylex_init_extra().
Older versions of flex don't have the latter. Per buildfarm.
This commit is contained in:
parent
a3e39f8363
commit
ff0a7e6167
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue