diff options
| author | mitchell <unknown> | 2020-07-08 10:18:42 -0400 |
|---|---|---|
| committer | mitchell <unknown> | 2020-07-08 10:18:42 -0400 |
| commit | be2b4322cbb398b33ee9641d04463b663c781e1a (patch) | |
| tree | 0f4dd53dc49dfb2621e8c0ab196c7762230d842a /lexlua/props.lua | |
| parent | 329559b74b483576a74d5f87eebf951bd12b9200 (diff) | |
| download | scintilla-mirror-be2b4322cbb398b33ee9641d04463b663c781e1a.tar.gz | |
lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`.
Diffstat (limited to 'lexlua/props.lua')
| -rw-r--r-- | lexlua/props.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/props.lua b/lexlua/props.lua index ab0bde27b..f249fe6c4 100644 --- a/lexlua/props.lua +++ b/lexlua/props.lua @@ -13,7 +13,7 @@ lex:add_rule('whitespace', token(lexer.WHITESPACE, lexer.space^1)) -- Colors. lex:add_rule('color', token('color', '#' * lexer.xdigit * lexer.xdigit * lexer.xdigit * lexer.xdigit * lexer.xdigit * lexer.xdigit)) -lex:add_style('color', lexer.STYLE_NUMBER) +lex:add_style('color', lexer.styles.number) -- Comments. lex:add_rule('comment', token(lexer.COMMENT, lexer.to_eol('#'))) |
