X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Ftokenizer.h;h=4b4b5aa55172bfe56eb9b437a61b71be0eab8f5e;hb=d1892062a688b7a0d808711cb25b9a21241d73b7;hp=a07ab514a60261b369fc99783795bf86c23c8fb2;hpb=d864f3f5920065c62ce62499752b71a74aa66b72;p=swftools.git diff --git a/lib/as3/tokenizer.h b/lib/as3/tokenizer.h index a07ab51..4b4b5aa 100644 --- a/lib/as3/tokenizer.h +++ b/lib/as3/tokenizer.h @@ -22,9 +22,12 @@ #include "../q.h" #include "pool.h" #include "code.h" +#include "registry.h" DECLARE(token); DECLARE_LIST(token); +DECLARE(typedcode); +DECLARE(typedcode_list); struct _token { int type; @@ -35,8 +38,18 @@ struct _token { typedef struct _writeable { code_t*write; code_t*read; + class_signature_t*type; } writeable_t; +struct _typedcode { + code_t*c; + class_signature_t*t; +}; +struct _typedcode_list { + struct _typedcode typedcode; + struct _typedcode_list*nxt; +}; + extern char start_of_expression; typedef token_t*tokenptr_t;