Skip to content

Commit f1c0b6d

Browse files
committed
Print warning message when using Prism Ruby parser
1 parent fde99f1 commit f1c0b6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/rdoc/parser/ruby.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
if ENV['RDOC_USE_PRISM_PARSER']
1212
require 'rdoc/parser/prism_ruby'
1313
RDoc::Parser.const_set(:Ruby, RDoc::Parser::PrismRuby)
14+
puts "========================================================================="
15+
puts "RDoc is using the experimental Prism parser to generate the documentation"
16+
puts "========================================================================="
1417
return
1518
end
1619

0 commit comments

Comments
 (0)