implemented two-pass compiling
[swftools.git] / lib / as3 / tokenizer.lex
index ff73165..c06b2be 100644 (file)
@@ -31,6 +31,8 @@
 #include "tokenizer.h"
 #include "files.h"
 
+int as3_pass = 0;
+
 int as3_verbosity = 1;
 void as3_error(const char*format, ...)
 {
@@ -580,6 +582,7 @@ continue                     {c();return m(KW_CONTINUE);}
 override                     {c();return m(KW_OVERRIDE);}
 internal                     {c();return m(KW_INTERNAL);}
 function                     {c();return m(KW_FUNCTION);}
+finally                      {c();return m(KW_FINALLY);}
 default                      {c();return m(KW_DEFAULT);}
 package                      {c();return m(KW_PACKAGE);}
 private                      {c();return m(KW_PRIVATE);}