* src/lex.c (percent_table): Add tok_define.

* src/lex.h: Add tok_define.
This commit is contained in:
Robert Anisko
2001-08-25 14:27:57 +00:00
parent aa321494cf
commit dd3127cf7a
3 changed files with 7 additions and 0 deletions

View File

@@ -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.

View File

@@ -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 },

View File

@@ -49,6 +49,7 @@ typedef enum token_e
tok_thong,
tok_hdrext,
tok_srcext,
tok_define,
tok_noop,
tok_setopt,
tok_illegal,