aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/asm.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/asm.lua
parent329559b74b483576a74d5f87eebf951bd12b9200 (diff)
downloadscintilla-mirror-be2b4322cbb398b33ee9641d04463b663c781e1a.tar.gz
lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`.
Diffstat (limited to 'lexlua/asm.lua')
-rw-r--r--lexlua/asm.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lexlua/asm.lua b/lexlua/asm.lua
index 12ebdf3cf..f2e80a3d0 100644
--- a/lexlua/asm.lua
+++ b/lexlua/asm.lua
@@ -280,7 +280,7 @@ lex:add_rule('instruction', token('instruction', word_match[[
hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62
hint_nop63
]]))
-lex:add_style('instruction', lexer.STYLE_FUNCTION)
+lex:add_style('instruction', lexer.styles['function'])
-- Registers.
lex:add_rule('register', token('register', word_match[[
@@ -294,7 +294,7 @@ lex:add_rule('register', token('register', word_match[[
xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13
ymm14 ymm15
]]))
-lex:add_style('register', lexer.STYLE_CONSTANT)
+lex:add_style('register', lexer.styles.constant)
-- Types.
local sizes = word_match[[