lib/rouge/lexers/console.rb in rouge-3.3.0 vs lib/rouge/lexers/console.rb in rouge-3.4.0
- old
+ new
@@ -116,21 +116,21 @@
# before we pass to the lang lexer so it can determine where
# the "real" beginning of the line is
$' =~ /\A\s*/
yield Text, $& unless $&.empty?
- lang_lexer.lex($', continue: true, &output)
+ lang_lexer.continue_lex($', &output)
elsif comment_regex =~ input[0].strip
puts "console: matched comment #{input[0].inspect}" if @debug
output_lexer.reset!
lang_lexer.reset!
yield Comment, input[0]
else
puts "console: matched output #{input[0].inspect}" if @debug
lang_lexer.reset!
- output_lexer.lex(input[0], continue: true, &output)
+ output_lexer.continue_lex(input[0], &output)
end
end
end
end
end