]> git.saurik.com Git - bison.git/commitdiff
* src/lex.c (percent_table): Add tok_define.
authorRobert Anisko <robert@lrde.epita.fr>
Sat, 25 Aug 2001 14:27:57 +0000 (14:27 +0000)
committerRobert Anisko <robert@lrde.epita.fr>
Sat, 25 Aug 2001 14:27:57 +0000 (14:27 +0000)
* src/lex.h: Add tok_define.

ChangeLog
src/lex.c
src/lex.h

index cc7a51f48b49b70cf8c50992f44d08ebbdfb83bf..04ff5e813df6f321c1c46eff77a278189415c34a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-25  Robert Anisko  <robert.anisko@epita.fr>
+
+       * src/lex.c (percent_table): Add tok_define.
+       * src/lex.h: Add tok_define.
+
 2001-08-25  Robert Anisko  <robert.anisko@epita.fr>
 
        * src/macrotab.c: New file.
index 4bd0a6f26344d4fbc883b38f6c5543166255b27a..3df36a6584769086b4ed0f0a3f3f79444de1ae9b 100644 (file)
--- a/src/lex.c
+++ b/src/lex.c
@@ -554,6 +554,7 @@ struct percent_table_struct percent_table[] =
 #endif
   { "header_extension",        NULL,                   tok_hdrext},
   { "source_extension",        NULL,                   tok_srcext},
+  { "define",          NULL,                   tok_define },
   { "verbose",         &verbose_flag,          tok_noop },     /* -v */
   { "debug",           &debug_flag,            tok_noop },     /* -t */
   { "semantic_parser", &semantic_parser,       tok_noop },
index c63309635da6e60eb1eaac9f37bdc96b038646b0..e5d63882beb6728c54d2196e70a69ff9503b6196 100644 (file)
--- a/src/lex.h
+++ b/src/lex.h
@@ -49,6 +49,7 @@ typedef enum token_e
     tok_thong,
     tok_hdrext,
     tok_srcext,
+    tok_define,
     tok_noop,
     tok_setopt,
     tok_illegal,