]> git.saurik.com Git - bison.git/blobdiff - src/lex.h
* tests/regression.at, tests/torture.at, tests/calc.at: Adjust to
[bison.git] / src / lex.h
index 1bf675a2189c4879df6314b9072ca29a40ec08b2..b9462ed17d63ea430cb099f09864145c7bea5c5f 100644 (file)
--- a/src/lex.h
+++ b/src/lex.h
@@ -49,7 +49,8 @@ typedef enum token_e
     tok_expect,
     tok_thong,
     tok_noop,
-    tok_setopt,
+    tok_intopt,
+    tok_stropt,
     tok_illegal,
     tok_obsolete
   } token_t;
@@ -58,9 +59,10 @@ extern const char *token_buffer;
 extern bucket *symval;
 extern int numval;
 
-void init_lex PARAMS ((void));
+void lex_init PARAMS ((void));
+void lex_free PARAMS ((void));
 int skip_white_space PARAMS ((void));
-void unlex PARAMS ((int));
+void unlex PARAMS ((token_t));
 void read_type_name PARAMS ((FILE *fin));
 
 /* Return one of the token-type codes.  When an identifier is seen,