Content-Length: 258671 | pFad | http://github.com/postgrespro/postgres_cluster/commit/ff0a7e6167f475672d82d1cd7cd0d5e735154c4d

20 Use yylex_init not yylex_init_extra(). · postgrespro/postgres_cluster@ff0a7e6 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/ff0a7e6167f475672d82d1cd7cd0d5e735154c4d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy