mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Use yylex_init not yylex_init_extra().
Older versions of flex don't have the latter. Per buildfarm.
This commit is contained in:
@ -893,7 +893,9 @@ psql_scan_create(const PsqlScanCallbacks *callbacks)
|
|||||||
|
|
||||||
state->callbacks = callbacks;
|
state->callbacks = callbacks;
|
||||||
|
|
||||||
yylex_init_extra(state, &state->scanner);
|
yylex_init(&state->scanner);
|
||||||
|
|
||||||
|
yyset_extra(state, state->scanner);
|
||||||
|
|
||||||
psql_scan_reset(state);
|
psql_scan_reset(state);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user