summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTom Lane2011-08-25 17:55:57 +0000
committerTom Lane2011-08-25 17:55:57 +0000
commit2e95f1f002bc3f0504dffa6d9ffed0dc914ecec1 (patch)
treed28b03d260f30c8c9150ad72d96aba6cfaa731ce /contrib
parent0371d4d0632221957a60d4cdb70a898caf7ce6cf (diff)
Add "%option warn" to all flex input files that lacked it.
This is recommended in the flex manual, and there seems no good reason not to use it everywhere.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/cube/cubescan.l1
-rw-r--r--contrib/seg/segscan.l1
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/cube/cubescan.l b/contrib/cube/cubescan.l
index eb71b11adf..c184930158 100644
--- a/contrib/cube/cubescan.l
+++ b/contrib/cube/cubescan.l
@@ -32,6 +32,7 @@ void cube_scanner_finish(void);
%option noinput
%option nounput
%option noyywrap
+%option warn
%option prefix="cube_yy"
diff --git a/contrib/seg/segscan.l b/contrib/seg/segscan.l
index c2b5ca8789..e4feab39b3 100644
--- a/contrib/seg/segscan.l
+++ b/contrib/seg/segscan.l
@@ -30,6 +30,7 @@ void seg_scanner_finish(void);
%option noinput
%option nounput
%option noyywrap
+%option warn
%option prefix="seg_yy"