Open rsmmr opened 3 weeks ago
Updates this to align syntax with switch
: Requiring semicolon at the end and supporting the same attributes (&size
, &parse-*
) on the whole block. PR description updated accordingly.
I think the main question at this point is if we want/like this syntax. Feedback welcome.
Support
if
-blocks in unit.We now support
if
around a block of unit items:if
supports the same attributes right after the closing}
asswitch
does. For example, the following works:TODO:
Closes #1839.