aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/makefile.lua
diff options
context:
space:
mode:
authormitchell <unknown>2020-07-08 10:18:42 -0400
committermitchell <unknown>2020-07-08 10:18:42 -0400
commitbe2b4322cbb398b33ee9641d04463b663c781e1a (patch)
tree0f4dd53dc49dfb2621e8c0ab196c7762230d842a /lexlua/makefile.lua
parent329559b74b483576a74d5f87eebf951bd12b9200 (diff)
downloadscintilla-mirror-be2b4322cbb398b33ee9641d04463b663c781e1a.tar.gz
lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`.
Diffstat (limited to 'lexlua/makefile.lua')
-rw-r--r--lexlua/makefile.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/makefile.lua b/lexlua/makefile.lua
index ee8f0ac59..3c9b41af2 100644
--- a/lexlua/makefile.lua
+++ b/lexlua/makefile.lua
@@ -30,7 +30,7 @@ local special_target = token(lexer.CONSTANT, word_match[[
local normal_target = token('target', (lexer.any - lexer.space - S(':#='))^1)
lex:add_rule('target', lexer.starts_line((special_target + normal_target) *
ws^0 * #(':' * -P('='))))
-lex:add_style('target', lexer.STYLE_LABEL)
+lex:add_style('target', lexer.styles.label)
-- Variables.
local word_char = lexer.any - lexer.space - S(':#=(){}')