summaryrefslogtreecommitdiff
path: root/src/backend/bootstrap/bootscanner.l
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-02-24 22:06:32 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-02-24 22:06:32 +0000
commitfa96a5e15b69707c2e05aa04bc73fa88b9a85f7a (patch)
treef96b6765fbef3523cd5e323153b298be26a66add /src/backend/bootstrap/bootscanner.l
parent58e705320e0c9e691a3fd2bd544f375ee0ca23d6 (diff)
downloadpostgresql-fa96a5e15b69707c2e05aa04bc73fa88b9a85f7a.tar.gz
Add %option nodefault to all our flex lexers. Fix a couple of rule gaps
exposed thereby. AFAICT these would not lead to any worse problems than junk emitted on the backend's stdout, but we should have the option to catch possible worse errors in future.
Diffstat (limited to 'src/backend/bootstrap/bootscanner.l')
-rw-r--r--src/backend/bootstrap/bootscanner.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/bootstrap/bootscanner.l b/src/backend/bootstrap/bootscanner.l
index 6d3081695f..d8f683596d 100644
--- a/src/backend/bootstrap/bootscanner.l
+++ b/src/backend/bootstrap/bootscanner.l
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/bootstrap/bootscanner.l,v 1.32 2003/11/29 19:51:41 pgsql Exp $
+ * $PostgreSQL: pgsql/src/backend/bootstrap/bootscanner.l,v 1.33 2004/02/24 22:06:32 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -53,6 +53,7 @@ static int yyline; /* keep track of the line number for error reporting */
%option 8bit
%option never-interactive
+%option nodefault
%option nounput
%option noyywrap