Charj : Changed the syntax for declaring array section types to
authorMinas Charalambides <charala1@illinois.edu>
Sat, 16 Oct 2010 19:47:28 +0000 (14:47 -0500)
committerMinas Charalambides <charala1@illinois.edu>
Sat, 16 Oct 2010 19:47:28 +0000 (14:47 -0500)
Foo[%]@ section (instead of %Foo@ section)

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)
     ;