diff options
Diffstat (limited to 'lexlua/asm.lua')
| -rw-r--r-- | lexlua/asm.lua | 4 |
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[[ |
