diff options
Diffstat (limited to 'lexlua/actionscript.lua')
-rw-r--r-- | lexlua/actionscript.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/actionscript.lua b/lexlua/actionscript.lua index 3202a9a01..937541053 100644 --- a/lexlua/actionscript.lua +++ b/lexlua/actionscript.lua @@ -52,7 +52,7 @@ lex:add_rule('operator', token(lexer.OPERATOR, S('=!<>+-/*%&|^~.,;?()[]{}'))) -- Fold points. 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('//')) lex:add_fold_point(lexer.STRING, '<![CDATA[', ']]>') return lex |