aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/antlr.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/antlr.lua
parent329559b74b483576a74d5f87eebf951bd12b9200 (diff)
downloadscintilla-mirror-be2b4322cbb398b33ee9641d04463b663c781e1a.tar.gz
lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`.
Diffstat (limited to 'lexlua/antlr.lua')
-rw-r--r--lexlua/antlr.lua2
1 files changed, 1 insertions, 1 deletions
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)))