pgsql: Add "%option noinput" to the scanners to avoid compiler warnings.

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add "%option noinput" to the scanners to avoid compiler warnings.
Date: 2008-05-09 15:36:31
Message-ID: 20080509153631.B959A7559E9@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/bootstrap:
bootscanner.l (r1.45 -> r1.46)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/bootstrap/bootscanner.l?r1=1.45&r2=1.46)
pgsql/src/backend/parser:
scan.l (r1.143 -> r1.144)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/scan.l?r1=1.143&r2=1.144)
pgsql/src/backend/utils/misc:
guc-file.l (r1.54 -> r1.55)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc-file.l?r1=1.54&r2=1.55)
pgsql/src/bin/psql:
psqlscan.l (r1.24 -> r1.25)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/psqlscan.l?r1=1.24&r2=1.25)
pgsql/src/interfaces/ecpg/preproc:
pgc.l (r1.163 -> r1.164)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/pgc.l?r1=1.163&r2=1.164)
pgsql/src/pl/plpgsql/src:
scan.l (r1.61 -> r1.62)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/scan.l?r1=1.61&r2=1.62)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-05-09 15:53:07 pgsql: Give a warning if -s switch is used with a non-custom pgbench
Previous Message Bruce Momjian 2008-05-09 15:36:07 Re: pgsql: Have numeric 0 ^ 4.3 return 1, rather than an error, and have 0 ^