From be2b4322cbb398b33ee9641d04463b663c781e1a Mon Sep 17 00:00:00 2001 From: mitchell Date: Wed, 8 Jul 2020 10:18:42 -0400 Subject: lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`. --- lexlua/autoit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexlua/autoit.lua') 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)) -- cgit v1.2.3