Content-Length: 287297 | pFad | http://github.com/postgrespro/postgres/commit/9a8e23311cac14168df6644e03d533a4b07f933e

FE Remove a couple other vestigial yylex() declarations. · postgrespro/postgres@9a8e233 · GitHub
Skip to content

Commit 9a8e233

Browse files
committed
Remove a couple other vestigial yylex() declarations.
These were workarounds for a long-gone flex bug; all supported versions of flex emit an extern declaration as expected.
1 parent e9dd03c commit 9a8e233

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/backend/utils/misc/guc-file.l

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ static sigjmp_buf *GUC_flex_fatal_jmp;
4747

4848
static void FreeConfigVariable(ConfigVariable *item);
4949

50-
/* flex fails to supply a prototype for yylex, so provide one */
51-
int GUC_yylex(void);
52-
5350
static int GUC_flex_fatal(const char *msg);
5451
static char *GUC_scanstr(const char *s);
5552

src/bin/psql/psqlscan.l

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ static int backtick_start_offset;
114114
#define LEXRES_OK 3 /* OK completion of backslash argument */
115115

116116

117-
int yylex(void);
118-
119117
static void evaluate_backtick(void);
120118
static void push_new_buffer(const char *newstr, const char *varname);
121119
static void pop_buffer_stack(PsqlScanState state);

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/commit/9a8e23311cac14168df6644e03d533a4b07f933e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy