1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-21 00:42:43 +03:00

Add "%option noinput" to the scanners to avoid compiler warnings. GCC 4.3

began to realize that the input() function isn't used and printed warnings.
This commit is contained in:
Peter Eisentraut
2008-05-09 15:36:31 +00:00
parent 6e3e60095d
commit d35c56ed9f
6 changed files with 12 additions and 6 deletions

View File

@@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.163 2008/02/17 18:14:29 meskes Exp $
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.164 2008/05/09 15:36:31 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -76,6 +76,7 @@ static struct _if_value
%option 8bit
%option never-interactive
%option nodefault
%option noinput
%option noyywrap
%option yylineno