use default list implementation for typedcode
[swftools.git] / lib / as3 / tokenizer.h
index 57026ca..e3bf43d 100644 (file)
 
 DECLARE(token);
 DECLARE_LIST(token);
+DECLARE(param);
+DECLARE_LIST(param);
 DECLARE(typedcode);
-DECLARE(typedcode_list);
+DECLARE_LIST(typedcode);
 
 struct _token {
     int type;
@@ -45,14 +47,15 @@ typedef struct _writeable {
     class_signature_t*type;
 } writeable_t;
 
+struct _param {
+    char*name;
+    class_signature_t*type;
+};
+
 struct _typedcode {
     code_t*c;
     class_signature_t*t;
 };
-struct _typedcode_list {
-    struct _typedcode typedcode;
-    struct _typedcode_list*nxt;
-};
 
 extern char start_of_expression;