summaryrefslogtreecommitdiff
path: root/tests/test-bison-yylval/main.c
diff options
context:
space:
mode:
authorWill Estes <wlestes@users.sourceforge.net>2001-11-14 21:12:13 +0000
committerWill Estes <wlestes@users.sourceforge.net>2001-11-14 21:12:13 +0000
commitb9d1d8c8ae8cd7744df2607e60eeec1de4d83280 (patch)
treee8b3ee62c0d7ffec126685c723b808b382f59537 /tests/test-bison-yylval/main.c
parentfd8daf274937b030f6bd7bec6fbe1d92c2381542 (diff)
a big batch from millaway
Diffstat (limited to 'tests/test-bison-yylval/main.c')
-rw-r--r--tests/test-bison-yylval/main.c18
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: */