Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 5c054648f5f682d88e0037bedb841f62b0f6e9bb..b93823263eed63ea482ea1fbaf24f42e9bf76bef 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -175,7 +175,7 @@ |
return construct_language_mode(is_strict_mode()); |
} |
void set_language_mode(LanguageMode language_mode) { |
- STATIC_ASSERT(LAST_LANGUAGE_MODE == 1); |
+ STATIC_ASSERT(LANGUAGE_END == 2); |
set_strict_mode(is_strict(language_mode)); |
} |