opnsense-ports/lang/ruby20/files/patch-lib__rdoc__ruby_lex.rb
Franco Fichtner 69b48d3f1e */*: sync with upstream
Taken from: FreeBSD
2015-09-10 05:23:56 +02:00

11 lines
268 B
Ruby

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