diff options
author | Jack Karamanian <karamanian.jack@gmail.com> | 2020-06-30 19:57:06 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-01 11:18:44 +0200 |
commit | 1da7fea602f99a10efa65152d5e9921014c3d328 (patch) | |
tree | ff160eee62faf69e535922a91a6399968ea09faa /Userland | |
parent | 4dcdad4cc46ed79fe447608be39e2d4ba0c8abc9 (diff) | |
download | serenity-1da7fea602f99a10efa65152d5e9921014c3d328.zip |
js: Highlight Extends and Super tokens
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/js.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/js.cpp b/Userland/js.cpp index 7fd92146ee..e37b8c8d6e 100644 --- a/Userland/js.cpp +++ b/Userland/js.cpp @@ -695,12 +695,14 @@ int main(int argc, char** argv) case JS::TokenType::Const: case JS::TokenType::Debugger: case JS::TokenType::Delete: + case JS::TokenType::Extends: case JS::TokenType::Function: case JS::TokenType::In: case JS::TokenType::Instanceof: case JS::TokenType::Interface: case JS::TokenType::Let: case JS::TokenType::New: + case JS::TokenType::Super: case JS::TokenType::TemplateLiteralExprStart: case JS::TokenType::TemplateLiteralExprEnd: case JS::TokenType::Throw: |