Charj: allow multiple type definitions per file
[charm.git] / src / langs / charj / src / charj / translator / CharjSemantics.g
index 159d495b2fe55ff8ffd8edad03ab0b3f6e457b1b..079c9130f219092e39cf64bcd0d5caead6ebbc37 100644 (file)
@@ -86,7 +86,7 @@ scope ScopeStack; // default scope
     :   ^(CHARJ_SOURCE 
         (packageDeclaration)? 
         (importDeclarations) 
-        (typeDeclaration[$importDeclarations.packageNames]))
+        (typeDeclaration[$importDeclarations.packageNames])*)
         { $cs = $typeDeclaration.sym; }
     ;