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/antlr.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexlua/antlr.lua') diff --git a/lexlua/antlr.lua b/lexlua/antlr.lua index 53cd2d57f..278122863 100644 --- a/lexlua/antlr.lua +++ b/lexlua/antlr.lua @@ -38,7 +38,7 @@ lex:add_rule('comment', token(lexer.COMMENT, line_comment + block_comment)) -- Actions. lex:add_rule('action', token(lexer.OPERATOR, P('{')) * token('action', (1 - P('}'))^0) * token(lexer.OPERATOR, P('}'))^-1) -lex:add_style('action', lexer.STYLE_NOTHING) +lex:add_style('action', lexer.styles.nothing) -- Strings. lex:add_rule('string', token(lexer.STRING, lexer.range("'", true))) -- cgit v1.2.3