diff options
author | Will Estes <wlestes@users.sourceforge.net> | 2001-11-14 21:12:13 +0000 |
---|---|---|
committer | Will Estes <wlestes@users.sourceforge.net> | 2001-11-14 21:12:13 +0000 |
commit | b9d1d8c8ae8cd7744df2607e60eeec1de4d83280 (patch) | |
tree | e8b3ee62c0d7ffec126685c723b808b382f59537 /tests/test-bison-yylval/main.c | |
parent | fd8daf274937b030f6bd7bec6fbe1d92c2381542 (diff) |
a big batch from millaway
Diffstat (limited to 'tests/test-bison-yylval/main.c')
-rw-r--r-- | tests/test-bison-yylval/main.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/test-bison-yylval/main.c b/tests/test-bison-yylval/main.c new file mode 100644 index 0000000..fb45fa5 --- /dev/null +++ b/tests/test-bison-yylval/main.c @@ -0,0 +1,18 @@ +#include "parser.h" +#include "scanner.h" + +extern int testparse(yyscan_t); + +int main ( int argc, char** argv ) +{ + yyscan_t scanner; + /*yydebug =1;*/ + testlex_init ( &scanner ); + testset_in(stdin,scanner); + testparse ( scanner ); + testlex_destroy ( scanner ); + return 0; +} + + +/* vim:set tabstop=8 softtabstop=4 shiftwidth=4: */ |