diff options
Diffstat (limited to 'server/src/parser/grammar.lua')
-rw-r--r-- | server/src/parser/grammar.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/parser/grammar.lua b/server/src/parser/grammar.lua index 8b0f7273..11ee6901 100644 --- a/server/src/parser/grammar.lua +++ b/server/src/parser/grammar.lua @@ -519,7 +519,7 @@ Emmy <- EmmySp '---@' EmmyBody ShortComment EmmySp <- (!'---@' !'---' Comment / %s / %nl)* EmmyComments <- (EmmyComment (%nl EmmyComment)*) -> EmmyComment -EmmyComment <- EmmySp '---' %s* {(!%nl .)*} +EmmyComment <- EmmySp '---' !'@' %s* {(!%nl .)*} EmmyBody <- 'class' %s+ EmmyClass -> EmmyClass / 'type' %s+ EmmyType -> EmmyType / 'alias' %s+ EmmyAlias -> EmmyAlias |