projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81436e7
)
Reset flex state in a way that works for both flex 2.5.4 and 2.5.31.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 2 Jan 2006 19:55:31 +0000
(19:55 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 2 Jan 2006 19:55:31 +0000
(19:55 +0000)
src/backend/utils/misc/guc-file.l
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/misc/guc-file.l
b/src/backend/utils/misc/guc-file.l
index 78fd35a6ca69f10137fee3c6dde01280c25210b5..5952325d694b7d432d6059a9f558bdd7ead68725 100644
(file)
--- a/
src/backend/utils/misc/guc-file.l
+++ b/
src/backend/utils/misc/guc-file.l
@@
-157,8
+157,7
@@
ProcessConfigFile(GucContext context)
/*
* Parse
*/
- yyin = fp;
- YY_FLUSH_BUFFER; /* in case we abandoned a prior scan */
+ yyrestart(fp);
head = tail = NULL;
opt_name = opt_value = NULL;
ConfigFileLineno = 1;