summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Token.h
diff options
context:
space:
mode:
authorStephan Unverwerth <s.unverwerth@gmx.de>2020-04-13 00:42:14 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-13 00:45:25 +0200
commitf8f65053bdbc086e132db5cb620fc4b0789a13b1 (patch)
treecf142abcd32b17d15e8484af75ddec6ea4d5172c /Libraries/LibJS/Token.h
parent110ca6b0b60ce4cdcac64bb4184844e88c43bd3b (diff)
downloadserenity-f8f65053bdbc086e132db5cb620fc4b0789a13b1.zip
LibJS: Parse "this" as ThisExpression
Diffstat (limited to 'Libraries/LibJS/Token.h')
-rw-r--r--Libraries/LibJS/Token.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibJS/Token.h b/Libraries/LibJS/Token.h
index ac442136ad..36c6d210c3 100644
--- a/Libraries/LibJS/Token.h
+++ b/Libraries/LibJS/Token.h
@@ -111,6 +111,7 @@ namespace JS {
__ENUMERATE_JS_TOKEN(SlashEquals) \
__ENUMERATE_JS_TOKEN(StringLiteral) \
__ENUMERATE_JS_TOKEN(Switch) \
+ __ENUMERATE_JS_TOKEN(This) \
__ENUMERATE_JS_TOKEN(Throw) \
__ENUMERATE_JS_TOKEN(Tilde) \
__ENUMERATE_JS_TOKEN(Try) \