new struct writeable
authorkramm <kramm>
Tue, 9 Dec 2008 13:40:55 +0000 (13:40 +0000)
committerkramm <kramm>
Tue, 9 Dec 2008 13:40:55 +0000 (13:40 +0000)
lib/as3/tokenizer.h

index 341056f..a07ab51 100644 (file)
@@ -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, ...);