summaryrefslogtreecommitdiff
path: root/locale/en-us/script.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-04-29 20:38:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-04-29 20:38:00 +0800
commit6c4f440d86783deda607e147824285ecd88de4b6 (patch)
tree6f1c6ed008ca32b650360323eda5018f97ce16b2 /locale/en-us/script.lua
parent2ffcab3c7d5dc4b1d1455cd9d2bbcef988708e3a (diff)
downloadlua-language-server-6c4f440d86783deda607e147824285ecd88de4b6.zip
update parser
Diffstat (limited to 'locale/en-us/script.lua')
-rw-r--r--locale/en-us/script.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index 9fbcb72e..6ab52156 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -94,6 +94,7 @@ PARSER_UNEXPECT_SYMBOL = 'Unexpected symbol `{symbol}` .'
PARSER_UNKNOWN_TAG = 'Unknown attribute.'
PARSER_MULTI_TAG = 'Dose not support multi attributes.'
PARSER_UNEXPECT_LFUNC_NAME = 'Local function can only use identifiers as name.'
+PARSER_UNEXPECT_EFUNC_NAME = 'Function as expression cannot be named.'
PARSER_ERR_LCOMMENT_END = 'Multi-line annotations should be closed by `{symbol}` .'
PARSER_ERR_C_LONG_COMMENT = 'Lua should use `--[[ ]]` for multi-line annotations.'
PARSER_ERR_LSTRING_END = 'Long string should be closed by `{symbol}` .'