Charj: made SDAG grammar reflect actual SDAG implementation
[charm.git] / src / langs / charj / src / charj / translator / CharjASTModifier2.g
index 3ce1af38404d193263b26e90feef8c21429245d8..83650747e856fe9730f94ff0614d050a03ff2cf2 100644 (file)
@@ -327,7 +327,7 @@ statement
 
 sdagStatement
     :   ^(OVERLAP block)
-    |   ^(WHEN IDENT expression? (type IDENT)* block)
+    |   ^(WHEN (IDENT expression? formalParameterList)* block)
     ;
 
 nonBlockStatement