Bug #14193 » frozen_rdoc.patch
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
|
- « Previous
- 1
- 2
- Next »