From 749bee41b380e032eb3c6713dc5b6630e6cd3d15 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Mon, 2 Feb 2009 20:01:23 +0100 Subject: [PATCH] flex and bison now have different prefixes --- lib/as3/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/as3/main.c b/lib/as3/main.c index a5a4b62..4cbbb71 100644 --- a/lib/as3/main.c +++ b/lib/as3/main.c @@ -36,15 +36,15 @@ void test_lexer(char*filename) { char*fullfilename = enter_file(filename, 0); FILE*fi = fopen(fullfilename, "rb"); - avm2_set_in(fi); + as3_set_in(fi); while(1) { - int token = avm2_lex(); + int token = as3_lex(); if(token==T_EOF) break; if(token>=32 && token<256) { printf("'%c'\n", token); } else { - printf("%s\n", token2string(token, avm2_lval)); + printf("%s\n", token2string(token, a3_lval)); } } } -- 1.7.10.4