aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/props.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/props.lua')
-rw-r--r--lexlua/props.lua2
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('#')))