Skip to content

Commit

Permalink
Fix =end delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Nov 30, 2022
1 parent fe0159d commit e1679fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdoc/rd/block_parser.ry
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,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
Expand Down

0 comments on commit e1679fa

Please sign in to comment.