new helper structs codeandnumber, for_start
authorkramm <kramm>
Fri, 2 Jan 2009 19:54:58 +0000 (19:54 +0000)
committerkramm <kramm>
Fri, 2 Jan 2009 19:54:58 +0000 (19:54 +0000)
lib/as3/tokenizer.h

index 90164d9..6952771 100644 (file)
@@ -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