Project

General

Profile

Bug #14193 » frozen_rdoc.patch

MSP-Greg (Greg L), 12/17/2017 04:02 PM

View differences:

lib/rdoc/generator/darkfish.rb
template.filename = template_file.to_s
template.result @context
if defined? FrozenError
t = template.result(@context) rescue FrozenError ; t
else
template.result(@context)
end
end
##
lib/rdoc/rd/block_parser.rb
if @in_verbatim
[:STRINGLINE, line]
else
@indent_stack.push("\s" << newIndent)
@indent_stack.push("\s#{newIndent}")
[:ITEMLISTLINE, rest]
end
end
lib/rdoc/rd/inline_parser.rb
def parse inline
@inline = inline
@src = StringScanner.new inline
@pre = ""
@pre = "".dup
@yydebug = true
do_parse.to_s
end
(2-2/2)