Charj: fix class filter rule
authorAaron Becker <akbecker@gmail.com>
Thu, 16 Sep 2010 21:55:40 +0000 (16:55 -0500)
committerAaron Becker <akbecker@gmail.com>
Thu, 16 Sep 2010 21:55:40 +0000 (16:55 -0500)
src/langs/charj/src/charj/translator/InitPUPCollector.g

index 5bd286357bd0774ae5d1be63e0144b145d9587d2..0771c56d1e14b478c0ceae3393df0bd6161c1661 100644 (file)
@@ -42,7 +42,7 @@ enterClass
     :   ^(TYPE classType IDENT
         (^('extends' .*))?
         (^('implements' .*))?
-        (^((FUNCTION_METHOD_DECL | ENTRY_FUNCTION_DECL | DIVCON_METHOD_DECL | PRIMITIVE_VAR_DECLARATION
+        (^((FUNCTION_METHOD_DECL | ENTRY_FUNCTION_DECL | PRIMITIVE_VAR_DECLARATION | DIVCON_METHOD_DECL |
             OBJECT_VAR_DECLARATION | CONSTRUCTOR_DECL | ENTRY_CONSTRUCTOR_DECL) .*))*)
         {
             currentClass = (ClassSymbol)$IDENT.def.type;