Index: src/parsing/preparser.cc |
diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc |
index 8712fff3b9896e8bb44bbc5d054c03ba37066121..db8fefd57904179b276fb2105bbea7a8e641dad8 100644 |
--- a/src/parsing/preparser.cc |
+++ b/src/parsing/preparser.cc |
@@ -285,7 +285,7 @@ PreParser::Statement PreParser::ParseScopedStatement(bool legacy, bool* ok) { |
} else { |
Scope* body_scope = NewScope(scope_, BLOCK_SCOPE); |
BlockState block_state(&scope_, body_scope); |
- return ParseFunctionDeclaration(CHECK_OK); |
+ return ParseFunctionDeclaration(ok); |
} |
} |