Skip to content

Commit ff0a7e6

Browse files
committed
Use yylex_init not yylex_init_extra().
Older versions of flex don't have the latter. Per buildfarm.
1 parent a3e39f8 commit ff0a7e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bin/psql/psqlscan.l

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,9 @@ psql_scan_create(const PsqlScanCallbacks *callbacks)
893893

894894
state->callbacks = callbacks;
895895

896-
yylex_init_extra(state, &state->scanner);
896+
yylex_init(&state->scanner);
897+
898+
yyset_extra(state, state->scanner);
897899

898900
psql_scan_reset(state);
899901

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy