assignments support ': stmtList' like let/var do
This commit is contained in:
parent
9aeccda262
commit
e21ca54b11
3 changed files with 10 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue