git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added OPCODE_ definitions
[swftools.git]
/
lib
/
as3
/
mkabc.py
diff --git
a/lib/as3/mkabc.py
b/lib/as3/mkabc.py
index
0a946d6
..
57d68f5
100644
(file)
--- a/
lib/as3/mkabc.py
+++ b/
lib/as3/mkabc.py
@@
-126,6
+126,8
@@
for line in fi.readlines():
foh.write(",".join(["method->code"]+names))
foh.write("))\n")
+ foh.write("#define OPCODE_"+name.upper()+" "+op+"\n")
+
foh.write("#endif\n")
foh.close()