diff options
| author | mitchell <unknown> | 2020-07-08 10:18:42 -0400 |
|---|---|---|
| committer | mitchell <unknown> | 2020-07-08 10:18:42 -0400 |
| commit | be2b4322cbb398b33ee9641d04463b663c781e1a (patch) | |
| tree | 0f4dd53dc49dfb2621e8c0ab196c7762230d842a /lexlua/crystal.lua | |
| parent | 329559b74b483576a74d5f87eebf951bd12b9200 (diff) | |
| download | scintilla-mirror-be2b4322cbb398b33ee9641d04463b663c781e1a.tar.gz | |
lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`.
Diffstat (limited to 'lexlua/crystal.lua')
| -rw-r--r-- | lexlua/crystal.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/crystal.lua b/lexlua/crystal.lua index 85e111e90..797469b49 100644 --- a/lexlua/crystal.lua +++ b/lexlua/crystal.lua @@ -96,7 +96,7 @@ lex:add_rule('variable', token(lexer.VARIABLE, global_var + class_var + lex:add_rule('symbol', token('symbol', ':' * P(function(input, index) if input:sub(index - 2, index - 2) ~= ':' then return index end end) * (word_char^1 + sq_str + dq_str))) -lex:add_style('symbol', lexer.STYLE_CONSTANT) +lex:add_style('symbol', lexer.styles.constant) -- Operators. lex:add_rule('operator', token(lexer.OPERATOR, S('!%^&*()[]{}-=+/|:;.,?<>~'))) |
