diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-27 18:57:37 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-27 18:57:37 +0800 |
commit | 14f15056f63d615d2b59f0fcbea08800ae6b49c6 (patch) | |
tree | 6deebdda99ede3b45b3905394080a5e510990807 /script | |
parent | eaf7ee99405e164ce660591e4b8d042b1a08411f (diff) | |
download | lua-language-server-14f15056f63d615d2b59f0fcbea08800ae6b49c6.zip |
fix
Diffstat (limited to 'script')
-rw-r--r-- | script/parser/newparser.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua index 07e7c11e..d63d8f62 100644 --- a/script/parser/newparser.lua +++ b/script/parser/newparser.lua @@ -2124,6 +2124,7 @@ local function parseFunction(isLocal, isAction) func.name = simple func.finish = simple.finish if not isAction then + simple.parent = func pushError { type = 'UNEXPECT_EFUNC_NAME', start = simple.start, |