Skip to content

Commit 499f4d5

Browse files
committed
Reset flex state in a way that works for both flex 2.5.4 and 2.5.31.
1 parent 14d6c9f commit 499f4d5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
66
*
7-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc-file.l,v 1.33 2006/01/01 19:52:40 tgl Exp $
7+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc-file.l,v 1.34 2006/01/02 19:55:25 tgl Exp $
88
*/
99

1010
%{
@@ -157,8 +157,7 @@ ProcessConfigFile(GucContext context)
157157
/*
158158
* Parse
159159
*/
160-
yyin = fp;
161-
YY_FLUSH_BUFFER; /* in case we abandoned a prior scan */
160+
yyrestart(fp);
162161
head = tail = NULL;
163162
opt_name = opt_value = NULL;
164163
ConfigFileLineno = 1;

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