aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/antlr.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/antlr.lua')
-rw-r--r--lexlua/antlr.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/antlr.lua b/lexlua/antlr.lua
index b9d10c2cc..6f78d88b8 100644
--- a/lexlua/antlr.lua
+++ b/lexlua/antlr.lua
@@ -51,6 +51,6 @@ lex:add_fold_point(lexer.OPERATOR, ':', ';')
lex:add_fold_point(lexer.OPERATOR, '(', ')')
lex:add_fold_point(lexer.OPERATOR, '{', '}')
lex:add_fold_point(lexer.COMMENT, '/*', '*/')
-lex:add_fold_point(lexer.COMMENT, '//', lexer.fold_line_comments('//'))
+lex:add_fold_point(lexer.COMMENT, lexer.fold_consecutive_lines('//'))
return lex