diff options
author | Carl Worth <cworth@cworth.org> | 2010-05-10 16:16:06 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-05-10 16:16:06 -0700 |
commit | 0b27b5f05191f07ed31e65ff07e5233672f3c33a (patch) | |
tree | 84c63c12942e748378d73ef734021f788f4cd569 /glcpp.c | |
parent | 725c17a9266c1141508da623c8781412853b70e4 (diff) |
Implment #define
By using the recently-imported hash_table implementation.
Diffstat (limited to 'glcpp.c')
-rw-r--r-- | glcpp.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -26,12 +26,14 @@ int main (void) { + glcpp_parser_t parser; int ret; - void *scanner; - yylex_init (&scanner); - ret = yyparse (scanner); - yylex_destroy (scanner); + glcpp_parser_init (&parser); + + ret = glcpp_parser_parse (&parser); + + glcpp_parser_fini (&parser); return ret; } |