Remove rule requiring non-nil block-style statements to be semi-terminated
This is a subtle rule that no longer seems to be required.
This commit is contained in:
@@ -1848,7 +1848,7 @@ class parser {
|
||||
token::SEMI {
|
||||
self.bump();
|
||||
push(stmts,
|
||||
@{node: stmt_semi(e, stmt_id) with *stmt});
|
||||
@{node: stmt_expr(e, stmt_id) with *stmt});
|
||||
}
|
||||
token::RBRACE {
|
||||
expr = some(e);
|
||||
|
||||
Reference in New Issue
Block a user