1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +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

@@ -24,7 +24,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.143 2008/04/04 12:44:36 mha Exp $
* $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.144 2008/05/09 15:36:31 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -101,6 +101,7 @@ static unsigned char unescape_single_char(unsigned char c);
%option 8bit
%option never-interactive
%option nodefault
%option noinput
%option nounput
%option noyywrap
%option prefix="base_yy"