git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for disappearing characters bug in pdf2swf
[swftools.git]
/
lib
/
as3
/
tokenizer.h
diff --git
a/lib/as3/tokenizer.h
b/lib/as3/tokenizer.h
index
149ccd0
..
2d00ae4
100644
(file)
--- a/
lib/as3/tokenizer.h
+++ b/
lib/as3/tokenizer.h
@@
-34,6
+34,7
@@
DECLARE(param);
DECLARE_LIST(param);
DECLARE(params);
DECLARE(typedcode);
DECLARE_LIST(param);
DECLARE(params);
DECLARE(typedcode);
+DECLARE(modifiers);
DECLARE_LIST(typedcode);
struct _param {
DECLARE_LIST(typedcode);
struct _param {
@@
-51,6
+52,10
@@
struct _typedcode {
code_t*c;
classinfo_t*t;
};
code_t*c;
classinfo_t*t;
};
+struct _modifiers {
+ int flags;
+ char*ns;
+};
/* small helper structs: */
typedef struct _codeandnumber {
/* small helper structs: */
typedef struct _codeandnumber {
@@
-80,6
+85,11
@@
void as3_error(const char*format, ...);
void as3_warning(const char*format, ...);
void as3_softwarning(const char*format, ...);
void as3_warning(const char*format, ...);
void as3_softwarning(const char*format, ...);
+void as3_buffer_input(void*buffer, int len);
+void as3_file_input(FILE*fi);
+
+void tokenizer_register_namespace(const char*id);
+
#define T_EOF 0
extern int avm2_lex();
#define T_EOF 0
extern int avm2_lex();