[fix](syntax) multi statements must delim with semicolon (#38670) (#38753)

pick from master #38670
This commit is contained in:
morrySnow
2024-08-02 14:49:51 +08:00
committed by GitHub
parent da7b2cf578
commit f24d55fc94
3 changed files with 10 additions and 3 deletions

View File

@ -26,7 +26,7 @@ options { tokenVocab = DorisLexer; }
}
multiStatements
: (statement SEMICOLON*)+ EOF
: statement (SEMICOLON+ statement)* SEMICOLON* EOF
;
singleStatement