Charj : added basic support for automatic puping of pointer types
[charm.git] / src / langs / charj / src / charj / translator / CharjEmitter.g
index 81353f56b630147d7ab9280d2e9bbdb0994e839a..06643f6e3eeea0a148463d5ca75dcbe7f2875181 100644 (file)
@@ -639,8 +639,8 @@ expr
     ;
 
 primaryExpression
-    :   ^('.' prim=primaryExpression
-            ( IDENT     -> template(id={$IDENT}, prim={$prim.st}) "<prim>-><id>"
+    :   ^(DOT prim=primaryExpression
+            ( IDENT   -> template(id={$IDENT}, prim={$prim.st}) "<prim>-><id>"
             | THIS    -> template(prim={$prim.st}) "<prim>->this"
             | SUPER   -> template(prim={$prim.st}) "<prim>->super"
             )