git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2614267
)
flex and bison now have different prefixes
author
Matthias Kramm
<kramm@quiss.org>
Mon, 2 Feb 2009 19:01:23 +0000
(20:01 +0100)
committer
Matthias Kramm
<kramm@quiss.org>
Mon, 2 Feb 2009 19:01:23 +0000
(20:01 +0100)
lib/as3/main.c
patch
|
blob
|
history
diff --git
a/lib/as3/main.c
b/lib/as3/main.c
index
a5a4b62
..
4cbbb71
100644
(file)
--- 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));
}
}
}