]> git.draconx.ca Git - cdecl99.git/blobdiff - src/scan.l
cdecl99: Remove some unused variable declarations.
[cdecl99.git] / src / scan.l
index 767ba2263aca0eea2fe0888ff0c2e4dd4207e767..29dd33da4374060ea6a9428e7e297a34e0ee6190 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <config.h>
 #include "parse.h"
+
+#define YY_NO_INPUT 1
+#define YY_NO_UNPUT 1
 }
 
 %option nodefault noyywrap bison-locations reentrant never-interactive
@@ -124,11 +127,6 @@ INTEGER 0x[[:xdigit:]]+|0[0-7]+|[[:digit:]]+
 
 %{
        char *c;
-
-       if (yyextra > 0) {
-               yyextra = -yyextra;
-               return T_ENGLISH;
-       }
 %}
 
 "..."|[][;*(),] {