aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/erlang.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/erlang.lua
parent329559b74b483576a74d5f87eebf951bd12b9200 (diff)
downloadscintilla-mirror-be2b4322cbb398b33ee9641d04463b663c781e1a.tar.gz
lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`.
Diffstat (limited to 'lexlua/erlang.lua')
-rw-r--r--lexlua/erlang.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/erlang.lua b/lexlua/erlang.lua
index 0d2a3b19b..f0b8d9f6e 100644
--- a/lexlua/erlang.lua
+++ b/lexlua/erlang.lua
@@ -53,7 +53,7 @@ lex:add_rule('directive', token('directive', '-' * word_match[[
author behaviour behavior compile copyright define doc else endif export file
ifdef ifndef import include include_lib module record spec type undef
]]))
-lex:add_style('directive', lexer.STYLE_PREPROCESSOR)
+lex:add_style('directive', lexer.styles.preprocessor)
-- Strings.
local sq_str = lexer.range("'", true)