Charj : Changed the syntax for declaring array section types to
[charm.git] / src / langs / charj / src / charj / translator / Charj.g
index 15cefced58a7e47a0d7c539adc0eeb5bf05fb6b8..9da829872543e5b1410889b6225d719c8555f18d 100644 (file)
@@ -522,7 +522,7 @@ objectType
         ->  ^(PROXY_TYPE qualifiedTypeIdent domainExpression?)
     |   qualifiedTypeIdent domainExpression?
         ->  ^(POINTER_TYPE qualifiedTypeIdent domainExpression?)
-       |       MOD qualifiedTypeIdent AT
+       |       qualifiedTypeIdent '[' MOD ']' AT
                ->      ^(ARRAY_SECTION_TYPE qualifiedTypeIdent)
     ;