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:
parent
19ffe7eb4c
commit
ebacca89a7
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue