summaryrefslogtreecommitdiff
path: root/server/src/parser/ast.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/parser/ast.lua')
-rw-r--r--server/src/parser/ast.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/parser/ast.lua b/server/src/parser/ast.lua
index b126efb8..d6d6c0c9 100644
--- a/server/src/parser/ast.lua
+++ b/server/src/parser/ast.lua
@@ -1308,6 +1308,12 @@ local Defs = {
emmyName.type = 'emmyIncomplete'
return emmyName
end,
+ EmmyComment = function (...)
+ return {
+ type = 'emmyComment',
+ [1] = table.concat({...}, ' '),
+ }
+ end,
-- 捕获错误
UnknownSymbol = function (start, symbol)