[fine] OK
This commit is contained in:
parent
50eb7a9673
commit
65fef78c44
10 changed files with 81 additions and 25 deletions
|
|
@ -641,7 +641,9 @@ fn statement_return(p: &mut CParser) {
|
|||
fn statement_expression(p: &mut CParser) {
|
||||
let m = p.start();
|
||||
|
||||
expression(p);
|
||||
if !p.at(TokenKind::RightBrace) && !p.at(TokenKind::Semicolon) {
|
||||
expression(p);
|
||||
}
|
||||
if !p.at(TokenKind::RightBrace) {
|
||||
p.expect(
|
||||
TokenKind::Semicolon,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue