Add %option noinput to a bunch of Flex files, as we aren't using the

input() routine and thus don't need to have it generated - and as it
produces warnings of a routine defined but not used, we don't want to
have it generated.

Squelch a casting-const-away warning.

svn path=/trunk/; revision=47613
This commit is contained in:
Guy Harris 2013-02-10 19:13:07 +00:00
parent 19ffe7eb4c
commit ebacca89a7
8 changed files with 46 additions and 1 deletions

View File

@ -1,3 +1,8 @@
/*
* We don't use input, so don't generate code for it.
*/
%option noinput
/*
* We don't use unput, so don't generate code for it.
*/

View File

@ -1,3 +1,13 @@
/*
* We don't use input, so don't generate code for it.
*/
%option noinput
/*
* We don't use unput, so don't generate code for it.
*/
%option nounput
/*
* We don't read from the terminal.
*/

View File

@ -1,3 +1,8 @@
/*
* We don't use input, so don't generate code for it.
*/
%option noinput
/*
* We don't use unput, so don't generate code for it.
*/

View File

@ -1,3 +1,8 @@
/*
* We don't use input, so don't generate code for it.
*/
%option noinput
/*
* We don't use unput, so don't generate code for it.
*/

View File

@ -1,3 +1,8 @@
/*
* We don't use input, so don't generate code for it.
*/
%option noinput
/*
* We don't use unput, so don't generate code for it.
*/

View File

@ -1,3 +1,8 @@
/*
* We don't use input, so don't generate code for it.
*/
%option noinput
/*
* We don't use unput, so don't generate code for it.
*/
@ -165,7 +170,7 @@ comment #[^\n]*\n
}
<START_OF_LINE,NEXT_FIELD>{newline} {
ptrx = "";
ptrx = g_strdup("");
len = 0;
BEGIN END_OF_RECORD;

View File

@ -1,3 +1,8 @@
/*
* We don't use input, so don't generate code for it.
*/
%option noinput
/*
* We don't use unput, so don't generate code for it.
*/

View File

@ -1,3 +1,8 @@
/*
* We don't use input, so don't generate code for it.
*/
%option noinput
/*
* We don't use unput, so don't generate code for it.
*/