diff options
-rw-r--r-- | src/declinfo.l | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/declinfo.l b/src/declinfo.l index a91f832..653a251 100644 --- a/src/declinfo.l +++ b/src/declinfo.l @@ -16,6 +16,8 @@ */ %option never-interactive %option prefix="declinfoYY" +%option nounput +%option noyywrap %{ @@ -33,6 +35,7 @@ #define YY_NO_INPUT 1 #define YY_NO_UNISTD_H 1 +#define YY_NEVER_INTERACTIVE 1 /* ----------------------------------------------------------------- * @@ -80,8 +83,6 @@ static void addTypeName() name.resize(0); } -#define YY_NEVER_INTERACTIVE 1 - /* ----------------------------------------------------------------- */ #undef YY_INPUT @@ -103,9 +104,6 @@ static int yyread(char *buf,int max_size) B [ \t] ID "$"?([a-z_A-Z\x80-\xFF][a-z_A-Z0-9\x80-\xFF]*)|(@[0-9]+) -%option nounput -%option noyywrap - %x Start %x Template %x ReadArgs |