[ruby/rdoc] Fix =end
delimiter
https://github.com/ruby/rdoc/commit/e1679fa7e4
This commit is contained in:
parent
acd857b989
commit
bda070f016
@ -137,7 +137,7 @@ def next_token # :nodoc:
|
||||
=end
|
||||
@in_part = part
|
||||
# non-RD part end
|
||||
when /^=end/
|
||||
when /^=end(?:$|[\s\0\C-d\C-z])/
|
||||
if @in_part # if in non-RD part
|
||||
=begin # not imported to RDoc
|
||||
# p "END_PART: #{@in_part}" # DEBUG
|
||||
|
Loading…
x
Reference in New Issue
Block a user