From 242f22f2ef7aeb14c36e54d7d44d3fd4e51a5d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 19 Jan 2017 20:54:01 +0100 Subject: lexer: sync with scintillua changeset 582 rev d70a5ee43d38 --- lua/lexers/javascript.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lua/lexers/javascript.lua') diff --git a/lua/lexers/javascript.lua b/lua/lexers/javascript.lua index f879948..ccb102d 100644 --- a/lua/lexers/javascript.lua +++ b/lua/lexers/javascript.lua @@ -1,4 +1,4 @@ --- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE. +-- Copyright 2006-2017 Mitchell mitchell.att.foicica.com. See LICENSE. -- JavaScript LPeg lexer. local l = require('lexer') @@ -32,9 +32,9 @@ local keyword = token(l.KEYWORD, word_match{ 'abstract', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'debugger', 'default', 'delete', 'do', 'double', 'else', 'enum', 'export', 'extends', 'false', 'final', 'finally', 'float', 'for', - 'function', 'goto', 'if', 'implements', 'import', 'in', 'instanceof', 'int', - 'interface', 'let', 'long', 'native', 'new', 'null', 'of', 'package', - 'private', 'protected', 'public', 'return', 'short', 'static', 'super', + 'function', 'get', 'goto', 'if', 'implements', 'import', 'in', 'instanceof', + 'int', 'interface', 'let', 'long', 'native', 'new', 'null', 'of', 'package', + 'private', 'protected', 'public', 'return', 'set', 'short', 'static', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'true', 'try', 'typeof', 'var', 'void', 'volatile', 'while', 'with', 'yield' }) -- cgit v1.2.3