"static" should not be a reserved keyword in non-strict mode even when ES6 class...
[WebKit-https.git] / Source / JavaScriptCore / parser / ParserTokens.h
index 3ff279866af6e28690bc07c5f721bc7a38056ea2..0574b72eb683dde43370e61ee58b8b87c6e0d6da 100644 (file)
@@ -78,12 +78,10 @@ enum JSTokenType {
 #if ENABLE(ES6_CLASS_SYNTAX)
     CLASSTOKEN,
     EXTENDS,
-    STATICTOKEN,
     SUPER,
 #else
     CLASSTOKEN = RESERVED,
     EXTENDS = RESERVED,
-    STATICTOKEN = RESERVED_IF_STRICT,
     SUPER = RESERVED,
 #endif
     OPENBRACE = 0,