From 064f2c9ab55813158954b00d0bf3a3320ba8a73b Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 2 Jan 2009 19:54:58 +0000 Subject: [PATCH] new helper structs codeandnumber, for_start --- lib/as3/tokenizer.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/as3/tokenizer.h b/lib/as3/tokenizer.h index 90164d9..6952771 100644 --- 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 -- 1.7.10.4