aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/autoit.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/autoit.lua')
-rw-r--r--lexlua/autoit.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/autoit.lua b/lexlua/autoit.lua
index 3b6d3ae6a..856657904 100644
--- a/lexlua/autoit.lua
+++ b/lexlua/autoit.lua
@@ -116,7 +116,7 @@ lex:add_rule('string', token(lexer.STRING, dq_str + sq_str + inc))
-- Macros.
lex:add_rule('macro', token('macro', '@' * (lexer.alnum + '_')^1))
-lex:add_style('macro', lexer.STYLE_PREPROCESSOR)
+lex:add_style('macro', lexer.styles.preprocessor)
-- Variables.
lex:add_rule('variable', token(lexer.VARIABLE, '$' * (lexer.alnum + '_')^1))