]> git.saurik.com Git - bison.git/commit
Pacify "gcc -Wunused" for the input function from Flex.
authorJoel E. Denny <jdenny@clemson.edu>
Sat, 1 Aug 2009 21:51:34 +0000 (17:51 -0400)
committerJoel E. Denny <jdenny@clemson.edu>
Sat, 1 Aug 2009 22:03:45 +0000 (18:03 -0400)
commit42f8609bbd033edf6cca102ca080eade94ed08ef
treea3d2ca8467dddae7641bfddbfa23db6d44ead25f
parent9e408f848dcecd5f9f53fe79ae09ab2237d53252
Pacify "gcc -Wunused" for the input function from Flex.

Reported by Alex Rozenman.  This warning shows up with gcc-4.3.0
and later.
* src/scan-code.l: Add "%option noinput", which I cannot find in
the Flex manual, but which Flex has supported since at least as
far back as 2.5.4.  However, if any of our developers still use
Flex 2.5.4, they'll need to stop configuring with
--enable-gcc-warnings because "%option noinput" didn't work
correctly until Flex 2.5.6.
* src/scan-gram.l: Likewise.
* src/scan-skel.l: Likewise.
ChangeLog
src/scan-code.l
src/scan-gram.l
src/scan-skel.l