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:
7ea066e
)
new helper structs codeandnumber, for_start
author
kramm
<kramm>
Fri, 2 Jan 2009 19:54:58 +0000
(19:54 +0000)
committer
kramm
<kramm>
Fri, 2 Jan 2009 19:54:58 +0000
(19:54 +0000)
lib/as3/tokenizer.h
patch
|
blob
|
history
diff --git
a/lib/as3/tokenizer.h
b/lib/as3/tokenizer.h
index
90164d9
..
6952771
100644
(file)
--- a/
lib/as3/tokenizer.h
+++ b/
lib/as3/tokenizer.h
@@
-50,11
+50,18
@@
struct _params {
struct _typedcode {
code_t*c;
classinfo_t*t;
-
- /* if t == TYPE_FUNCTION */
- memberinfo_t*f;
};
+/* small helper structs: */
+typedef struct _codeandnumber {
+ code_t*cc;
+ int len;
+} codeandnumber_t;
+typedef struct _for_start {
+ char*name;
+ char each;
+} for_start_t;
+
#define FLAG_PUBLIC 1
#define FLAG_FINAL 2
#define FLAG_PROTECTED 4