]> git.saurik.com Git - bison.git/blobdiff - src/lex.h
Add of %source_extension and %header_extension which specify
[bison.git] / src / lex.h
index f1425bd20eda6e128e464e2b60483725735233ca..c63309635da6e60eb1eaac9f37bdc96b038646b0 100644 (file)
--- a/src/lex.h
+++ b/src/lex.h
@@ -1,5 +1,5 @@
 /* Token type definitions for bison's input reader,
-   Copyright 1984, 1989, 1992, 2000 Free Software Foundation, Inc.
+   Copyright 1984, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
 
@@ -47,12 +47,15 @@ typedef enum token_e
     tok_number,
     tok_expect,
     tok_thong,
+    tok_hdrext,
+    tok_srcext,
     tok_noop,
     tok_setopt,
-    tok_illegal
+    tok_illegal,
+    tok_obsolete
   } token_t;
 
-extern char *token_buffer;
+extern const char *token_buffer;
 extern bucket *symval;
 extern int numval;