require at least one statement in block

This commit is contained in:
2019-11-11 11:40:17 +01:00
parent 16b8efaa8b
commit 42ae4c88fb

View File

@@ -5,11 +5,11 @@ parse
;
block
: statement*
: statement+
;
braced_block
: OBRK statement* CBRK
: OBRK statement+ CBRK
;
statement