summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-08 20:11:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-08 20:11:14 +0800
commit097a36edf4cece5ce1b590adffc6de0d2929e995 (patch)
tree45a73f85fcc0c9c2cc393d1617eb95ed686cdd93 /script/parser/luadoc.lua
parent1e6b168fa6d7a4922205cd19519e01f25898017e (diff)
downloadlua-language-server-097a36edf4cece5ce1b590adffc6de0d2929e995.zip
fix
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 4d9de5be..6adbfa68 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -6,6 +6,7 @@ local parser = require 'parser.newparser'
local TokenTypes, TokenStarts, TokenFinishs, TokenContents, TokenMarks
local Ci, Offset, pushWarning, NextComment, Lines
local parseType
+---@type any
local Parser = re.compile([[
Main <- (Token / Sp)*
Sp <- %s+