aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/makefile.lua
diff options
context:
space:
mode:
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(':#=(){}')