aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 1b3a37c3b..46eb9145c 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -3932,6 +3932,7 @@ Ast *parse_for_stmt(AstFile *f) {
}
+
if (allow_token(f, Token_do)) {
body = convert_stmt_to_body(f, parse_stmt(f));
if (build_context.disallow_do) {