Skip to content
Permalink
Browse files
Revert "Update NODE_BLOCK check logic in void_expr_error."
This reverts commit 31e3068.
  • Loading branch information
matz committed Jun 2, 2017
1 parent a8bf374 commit 7f417ade42d19f931ff930ba118c5c4393c74ae9
Showing 1 changed file with 5 additions and 4 deletions.
@@ -3474,11 +3474,12 @@ void_expr_error(parser_state *p, node *n)
void_expr_error(p, n->cdr->cdr);
break;
case NODE_BEGIN:
n = n->cdr;
while (n->cdr) {
n = n->cdr;
if (n->cdr) {
while (n->cdr) {
n = n->cdr;
}
void_expr_error(p, n->car);
}
void_expr_error(p, n->car);
break;
default:
break;

0 comments on commit 7f417ad

Please sign in to comment.