Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 0d02f77fd6327b48bff16aff675cbb72e94a5389..f8a3e794d1cdc67d1d5d8488e9a2dc608774b10f 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -272,7 +272,7 @@ template <typename T, class P = FreeStoreAllocationPolicy> class List; |
// The Strict Mode (ECMA-262 5th edition, 4.2.2). |
-enum LanguageMode : uint32_t { SLOPPY, STRICT, LANGUAGE_END }; |
+enum LanguageMode : uint32_t { SLOPPY, STRICT, LAST_LANGUAGE_MODE = STRICT }; |
inline std::ostream& operator<<(std::ostream& os, const LanguageMode& mode) { |
switch (mode) { |