assignments support ': stmtList' like let/var do

This commit is contained in:
Andreas Rumpf 2017-04-04 12:20:43 +02:00
commit e21ca54b11
3 changed files with 10 additions and 3 deletions

View file

@ -103,7 +103,7 @@ macroColon = ':' stmt? ( IND{=} 'of' exprList ':' stmt
| IND{=} 'except' exprList ':' stmt
| IND{=} 'else' ':' stmt )*
exprStmt = simpleExpr
(( '=' optInd expr )
(( '=' optInd expr colonBody? )
/ ( expr ^+ comma
doBlocks
/ macroColon