Add some keywords

This commit is contained in:
syuilo 2017-02-10 01:11:06 +09:00
parent 7e3707882d
commit 7dd4e6ecee

View file

@ -42,6 +42,7 @@ const keywords = [
'switch', 'switch',
'match', 'match',
'case', 'case',
'default',
'for', 'for',
'each', 'each',
'in', 'in',
@ -52,6 +53,11 @@ const keywords = [
'do', 'do',
'goto', 'goto',
'end', 'end',
'throw',
'try',
'catch',
'finally',
'enum',
'function', 'function',
'func', 'func',
'fn', 'fn',
@ -59,6 +65,7 @@ const keywords = [
'async', 'async',
'await', 'await',
'require', 'require',
'include',
'import', 'import',
'export', 'export',
'from', 'from',
@ -66,7 +73,9 @@ const keywords = [
'use', 'use',
'module', 'module',
'struct', 'struct',
'union',
'new', 'new',
'delete',
'this', 'this',
'super', 'super',
'base', 'base',