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