Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9a8e233

Browse files
committed
Remove a couple other vestigial yylex() declarations.
These were workarounds for a long-gone flex bug; all supported versionsof flex emit an extern declaration as expected.
1 parente9dd03c commit9a8e233

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
staticvoidFreeConfigVariable(ConfigVariable *item);
4949

50-
/* flex fails to supply a prototype for yylex, so provide one */
51-
intGUC_yylex(void);
52-
5350
staticintGUC_flex_fatal(constchar *msg);
5451
staticchar *GUC_scanstr(constchar *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 intbacktick_start_offset;
114114
#defineLEXRES_OK3/* OK completion of backslash argument*/
115115

116116

117-
intyylex(void);
118-
119117
staticvoidevaluate_backtick(void);
120118
staticvoidpush_new_buffer(constchar *newstr,constchar *varname);
121119
staticvoidpop_buffer_stack(PsqlScanState state);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp