diff options
| author | mitchell <unknown> | 2020-07-13 19:40:56 -0400 |
|---|---|---|
| committer | mitchell <unknown> | 2020-07-13 19:40:56 -0400 |
| commit | b76968a8e29f7851cbda33523db79da12a962b95 (patch) | |
| tree | 940cc59f09d6a53de1317946b9930dda51ce4ba5 /lexlua/html.lua | |
| parent | c8415f6bb194477fcdd8a9f0c6f8551f1749e6b6 (diff) | |
| download | scintilla-mirror-b76968a8e29f7851cbda33523db79da12a962b95.tar.gz | |
lexlua: Deprecated some unused lexer patterns.
Diffstat (limited to 'lexlua/html.lua')
| -rw-r--r-- | lexlua/html.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/html.lua b/lexlua/html.lua index 787566949..416fc69cd 100644 --- a/lexlua/html.lua +++ b/lexlua/html.lua @@ -134,7 +134,7 @@ local js_start_rule = #('<' * script_element * ('>' + P(function(input, index) end end))) * lex.embed_start_tag local js_end_rule = #('</' * script_element * ws^-1 * '>') * lex.embed_end_tag -local js_line_comment = '//' * (lexer.nonnewline_esc - js_end_rule)^0 +local js_line_comment = '//' * (lexer.nonnewline - js_end_rule)^0 local js_block_comment = '/*' * (lexer.any - '*/' - js_end_rule)^0 * P('*/')^-1 js:modify_rule('comment', token(lexer.COMMENT, js_line_comment + js_block_comment)) |
