diff --git a/src/xspice/cmpp/ifs_lex.l b/src/xspice/cmpp/ifs_lex.l index 6e5b8b400..51339f0bd 100644 --- a/src/xspice/cmpp/ifs_lex.l +++ b/src/xspice/cmpp/ifs_lex.l @@ -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) -*/ - /*---------------------------------------------------------------------------*/ %} diff --git a/src/xspice/cmpp/mod_lex.l b/src/xspice/cmpp/mod_lex.l index a358a21e2..fe7678886 100644 --- a/src/xspice/cmpp/mod_lex.l +++ b/src/xspice/cmpp/mod_lex.l @@ -1,6 +1,7 @@ %option prefix="mod_yy" %option yylineno %option noyywrap +%option nounput %{ /*============================================================================