xspice/cmpp/*.l, flex file cleanup and use %option noinput, nounput
This commit is contained in:
parent
9154ab103a
commit
1aab43dd1a
|
|
@ -2,6 +2,8 @@
|
|||
%option prefix="ifs_yy"
|
||||
%option yylineno
|
||||
%option noyywrap
|
||||
%option noinput
|
||||
%option nounput
|
||||
%{
|
||||
|
||||
/*============================================================================
|
||||
|
|
@ -56,11 +58,6 @@ double yydval;
|
|||
* IFS specs are case insensitive:
|
||||
*/
|
||||
|
||||
/* saj - use -i flex command line option
|
||||
#undef input
|
||||
#define input() (((yytchar=yysptr>yysbuf?U(*--yysptr):getc(yyin))==10?(yylineno++,yytchar):yytchar)==EOF?0:isupper(yytchar)?tolower(yytchar):yytchar)
|
||||
*/
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
%}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
%option prefix="mod_yy"
|
||||
%option yylineno
|
||||
%option noyywrap
|
||||
%option nounput
|
||||
%{
|
||||
|
||||
/*============================================================================
|
||||
|
|
|
|||
Loading…
Reference in New Issue