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/chuck.lua | |
| parent | 329559b74b483576a74d5f87eebf951bd12b9200 (diff) | |
| download | scintilla-mirror-be2b4322cbb398b33ee9641d04463b663c781e1a.tar.gz | |
lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`.
Diffstat (limited to 'lexlua/chuck.lua')
| -rw-r--r-- | lexlua/chuck.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lexlua/chuck.lua b/lexlua/chuck.lua index d3dfd2417..3726a1440 100644 --- a/lexlua/chuck.lua +++ b/lexlua/chuck.lua @@ -38,17 +38,17 @@ lex:add_rule('class', token(lexer.CLASS, word_match[[ -- Global ugens. lex:add_rule('ugen', token('ugen', word_match[[dac adc blackhole]])) -lex:add_style('ugen', lexer.STYLE_CONSTANT) +lex:add_style('ugen', lexer.styles.constant) -- Times. lex:add_rule('time', token('time', word_match[[ samp ms second minute hour day week ]])) -lex:add_style('time', lexer.STYLE_NUMBER) +lex:add_style('time', lexer.styles.number) -- Special special value. lex:add_rule('now', token('now', P('now'))) -lex:add_style('now', lexer.STYLE_CONSTANT .. {bold = true}) +lex:add_style('now', lexer.styles.constant .. {bold = true}) -- Strings. local sq_str = P('L')^-1 * lexer.range("'", true) |
