]> granicus.if.org Git - postgresql/commitdiff
Add %option noinput to contrib's flex scanners, to suppress gcc 4.3
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 25 Aug 2008 23:12:45 +0000 (23:12 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 25 Aug 2008 23:12:45 +0000 (23:12 +0000)
warnings.  Peter did this for core awhile ago but evidently missed
contrib.

contrib/cube/cubescan.l
contrib/seg/segscan.l

index a96b9c541d29c1907a02174f78ebb95b051b02a4..f373d353f2cc1d90d2aa33b07ce85eb583acb297 100644 (file)
@@ -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"
index 817300993dde034d2d80081685c2150dd5f8416a..36da5fa3957901fa08b93b39e7219f6a8fad0ee6 100644 (file)
@@ -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"