X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Ftokenizer.h;h=a07ab514a60261b369fc99783795bf86c23c8fb2;hb=d864f3f5920065c62ce62499752b71a74aa66b72;hp=341056ffea51615fb38f4787d1db58743afb017e;hpb=3f9b43eec2a339e1c60a4139556b6153f8b3cc65;p=swftools.git diff --git a/lib/as3/tokenizer.h b/lib/as3/tokenizer.h index 341056f..a07ab51 100644 --- a/lib/as3/tokenizer.h +++ b/lib/as3/tokenizer.h @@ -21,6 +21,7 @@ #include "../q.h" #include "pool.h" +#include "code.h" DECLARE(token); DECLARE_LIST(token); @@ -31,12 +32,15 @@ struct _token { token_list_t*tokens; }; +typedef struct _writeable { + code_t*write; + code_t*read; +} writeable_t; + extern char start_of_expression; typedef token_t*tokenptr_t; -//#define YYSTYPE tokenptr_t - #include "parser.tab.h" void syntaxerror(const char*format, ...);