freebsd-ports/lang/ruby20/files/patch-lib__rdoc__ruby_lex.rb
2014-01-02 02:35:40 +00:00

11 lines
316 B
Ruby

--- ./lib/rdoc/ruby_lex.rb.orig 2012-12-18 07:31:36.000000000 +0000
+++ ./lib/rdoc/ruby_lex.rb 2014-01-02 01:09:06.630327388 +0000
@@ -1028,6 +1028,8 @@
end
if output_heredoc then
+ raise Error, "Missing terminating #{quoted} for string" unless l
+
doc << l.chomp
else
doc << '"'