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