Commit 3e4264ca authored by Tom Lane's avatar Tom Lane

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.
parent e5536e77
%{ %{
/* /*
** A scanner for EMP-style numeric ranges ** 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" #include "postgres.h"
...@@ -29,6 +29,7 @@ void cube_scanner_finish(void); ...@@ -29,6 +29,7 @@ void cube_scanner_finish(void);
%option 8bit %option 8bit
%option never-interactive %option never-interactive
%option nodefault %option nodefault
%option noinput
%option nounput %option nounput
%option noyywrap %option noyywrap
%option prefix="cube_yy" %option prefix="cube_yy"
......
...@@ -27,6 +27,7 @@ void seg_scanner_finish(void); ...@@ -27,6 +27,7 @@ void seg_scanner_finish(void);
%option 8bit %option 8bit
%option never-interactive %option never-interactive
%option nodefault %option nodefault
%option noinput
%option nounput %option nounput
%option noyywrap %option noyywrap
%option prefix="seg_yy" %option prefix="seg_yy"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment