Need to turn off whitespace eating _before_ the close paren
This commit is contained in:
parent
61a38f3a5f
commit
bfae38538d
@ -1361,8 +1361,8 @@ static void statement() {
|
||||
static void grouping(int canAssign) {
|
||||
startEatingWhitespace();
|
||||
expression();
|
||||
consume(TOKEN_RIGHT_PAREN, "Expect ')' after expression.");
|
||||
stopEatingWhitespace();
|
||||
consume(TOKEN_RIGHT_PAREN, "Expect ')' after expression.");
|
||||
}
|
||||
|
||||
static void unary(int canAssign) {
|
||||
|
Loading…
Reference in New Issue
Block a user