mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-03-16 00:56:56 +08: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;
|
||||
|
||||
yylex_init_extra(state, &state->scanner);
|
||||
yylex_init(&state->scanner);
|
||||
|
||||
yyset_extra(state, state->scanner);
|
||||
|
||||
psql_scan_reset(state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user