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/toml.lua | |
| parent | 329559b74b483576a74d5f87eebf951bd12b9200 (diff) | |
| download | scintilla-mirror-be2b4322cbb398b33ee9641d04463b663c781e1a.tar.gz | |
lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`.
Diffstat (limited to 'lexlua/toml.lua')
| -rw-r--r-- | lexlua/toml.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/toml.lua b/lexlua/toml.lua index e96860e44..0c659b549 100644 --- a/lexlua/toml.lua +++ b/lexlua/toml.lua @@ -44,7 +44,7 @@ local time = hours * ':' * minutes * ':' * seconds * fraction^-1 local T = S(' \t')^1 + S('tT') local zone = 'Z' + S(' \t')^0 * S('-+') * hours * (':' * minutes)^-1 lex:add_rule('datetime', token('timestamp', date * (T * time * zone^-1))) -lex:add_style('timestamp', lexer.STYLE_NUMBER) +lex:add_style('timestamp', lexer.styles.number) -- Numbers. lex:add_rule('number', token(lexer.NUMBER, lexer.number)) |
