git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new struct 'params'
[swftools.git]
/
lib
/
as3
/
tokenizer.h
diff --git
a/lib/as3/tokenizer.h
b/lib/as3/tokenizer.h
index
5e9452e
..
bc81e96
100644
(file)
--- a/
lib/as3/tokenizer.h
+++ b/
lib/as3/tokenizer.h
@@
-32,6
+32,7
@@
DECLARE(token);
DECLARE_LIST(token);
DECLARE(param);
DECLARE_LIST(param);
DECLARE_LIST(token);
DECLARE(param);
DECLARE_LIST(param);
+DECLARE(params);
DECLARE(typedcode);
DECLARE_LIST(typedcode);
DECLARE(typedcode);
DECLARE_LIST(typedcode);
@@
-46,9
+47,17
@@
struct _param {
classinfo_t*type;
};
classinfo_t*type;
};
+struct _params {
+ param_list_t*list;
+ char varargs;
+};
+
struct _typedcode {
code_t*c;
classinfo_t*t;
struct _typedcode {
code_t*c;
classinfo_t*t;
+
+ /* if t == TYPE_FUNCTION */
+ memberinfo_t*f;
};
extern char start_of_expression;
};
extern char start_of_expression;