diff options
author | Tom Lane | 2008-08-25 23:12:45 +0000 |
---|---|---|
committer | Tom Lane | 2008-08-25 23:12:45 +0000 |
commit | 3e4264ca359a7ce89e19778543b8a2f636277423 (patch) | |
tree | 5697f3e121807270905c7a8ee7624f235bc15568 | |
parent | e5536e77a50e2b6a5881a2ce9ef1c6debcb5d909 (diff) |
Add %option noinput to contrib's flex scanners, to suppress gcc 4.3
warnings. Peter did this for core awhile ago but evidently missed
contrib.
-rw-r--r-- | contrib/cube/cubescan.l | 3 | ||||
-rw-r--r-- | contrib/seg/segscan.l | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/contrib/cube/cubescan.l b/contrib/cube/cubescan.l index a96b9c541d..f373d353f2 100644 --- a/contrib/cube/cubescan.l +++ b/contrib/cube/cubescan.l @@ -1,7 +1,7 @@ %{ /* ** A scanner for EMP-style numeric ranges - * $PostgreSQL: pgsql/contrib/cube/cubescan.l,v 1.11 2006/03/11 04:38:28 momjian Exp $ + * $PostgreSQL: pgsql/contrib/cube/cubescan.l,v 1.12 2008/08/25 23:12:45 tgl Exp $ */ #include "postgres.h" @@ -29,6 +29,7 @@ void cube_scanner_finish(void); %option 8bit %option never-interactive %option nodefault +%option noinput %option nounput %option noyywrap %option prefix="cube_yy" diff --git a/contrib/seg/segscan.l b/contrib/seg/segscan.l index 817300993d..36da5fa395 100644 --- a/contrib/seg/segscan.l +++ b/contrib/seg/segscan.l @@ -27,6 +27,7 @@ void seg_scanner_finish(void); %option 8bit %option never-interactive %option nodefault +%option noinput %option nounput %option noyywrap %option prefix="seg_yy" |