1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* remove trailing spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
svn 2014-12-07 01:22:51 +00:00
parent 4260aa1dc3
commit 4b0ebe8fd0
3 changed files with 109 additions and 109 deletions

View file

@ -15289,7 +15289,7 @@ class RDoc::Markdown
self.pos = _save self.pos = _save
break break
end end
@result = begin; @result = begin;
ref = [:inline, @note_order.length] ref = [:inline, @note_order.length]
@footnotes[ref] = paragraph a @footnotes[ref] = paragraph a

View file

@ -677,54 +677,54 @@ Racc_debug_parser = false
# reduce 0 omitted # reduce 0 omitted
def _reduce_1(val, _values, result) def _reduce_1(val, _values, result)
result = RDoc::Markup::Document.new(*val[0]) result = RDoc::Markup::Document.new(*val[0])
result result
end end
def _reduce_2(val, _values, result) def _reduce_2(val, _values, result)
raise ParseError, "file empty" raise ParseError, "file empty"
result result
end end
def _reduce_3(val, _values, result) def _reduce_3(val, _values, result)
result = val[0].concat val[1] result = val[0].concat val[1]
result result
end end
def _reduce_4(val, _values, result) def _reduce_4(val, _values, result)
result = val[0] result = val[0]
result result
end end
def _reduce_5(val, _values, result) def _reduce_5(val, _values, result)
result = val result = val
result result
end end
def _reduce_6(val, _values, result) def _reduce_6(val, _values, result)
result = val result = val
result result
end end
# reduce 7 omitted # reduce 7 omitted
def _reduce_8(val, _values, result) def _reduce_8(val, _values, result)
result = val result = val
result result
end end
def _reduce_9(val, _values, result) def _reduce_9(val, _values, result)
result = val result = val
result result
end end
def _reduce_10(val, _values, result) def _reduce_10(val, _values, result)
result = [RDoc::Markup::BlankLine.new] result = [RDoc::Markup::BlankLine.new]
result result
end end
def _reduce_11(val, _values, result) def _reduce_11(val, _values, result)
result = val[0].parts result = val[0].parts
result result
end end
@ -732,30 +732,30 @@ def _reduce_12(val, _values, result)
# val[0] is like [level, title] # val[0] is like [level, title]
title = @inline_parser.parse(val[0][1]) title = @inline_parser.parse(val[0][1])
result = RDoc::Markup::Heading.new(val[0][0], title) result = RDoc::Markup::Heading.new(val[0][0], title)
result result
end end
def _reduce_13(val, _values, result) def _reduce_13(val, _values, result)
result = RDoc::Markup::Include.new val[0], @include_path result = RDoc::Markup::Include.new val[0], @include_path
result result
end end
def _reduce_14(val, _values, result) def _reduce_14(val, _values, result)
# val[0] is Array of String # val[0] is Array of String
result = paragraph val[0] result = paragraph val[0]
result result
end end
def _reduce_15(val, _values, result) def _reduce_15(val, _values, result)
result << val[1].rstrip result << val[1].rstrip
result result
end end
def _reduce_16(val, _values, result) def _reduce_16(val, _values, result)
result = [val[0].rstrip] result = [val[0].rstrip]
result result
end end
@ -766,7 +766,7 @@ def _reduce_17(val, _values, result)
# imform to lexer. # imform to lexer.
@in_verbatim = false @in_verbatim = false
result result
end end
@ -777,25 +777,25 @@ def _reduce_18(val, _values, result)
# imform to lexer. # imform to lexer.
@in_verbatim = false @in_verbatim = false
result result
end end
def _reduce_19(val, _values, result) def _reduce_19(val, _values, result)
result << val[1] result << val[1]
result result
end end
def _reduce_20(val, _values, result) def _reduce_20(val, _values, result)
result.concat val[2] result.concat val[2]
result result
end end
def _reduce_21(val, _values, result) def _reduce_21(val, _values, result)
result << "\n" result << "\n"
result result
end end
@ -803,7 +803,7 @@ def _reduce_22(val, _values, result)
result = val result = val
# inform to lexer. # inform to lexer.
@in_verbatim = true @in_verbatim = true
result result
end end
@ -817,89 +817,89 @@ end
def _reduce_27(val, _values, result) def _reduce_27(val, _values, result)
result = val[0] result = val[0]
result result
end end
def _reduce_28(val, _values, result) def _reduce_28(val, _values, result)
result = val[1] result = val[1]
result result
end end
def _reduce_29(val, _values, result) def _reduce_29(val, _values, result)
result = val[1].push(val[2]) result = val[1].push(val[2])
result result
end end
def _reduce_30(val, _values, result) def _reduce_30(val, _values, result)
result = val[0] << val[1] result = val[0] << val[1]
result result
end end
def _reduce_31(val, _values, result) def _reduce_31(val, _values, result)
result = [val[0]] result = [val[0]]
result result
end end
def _reduce_32(val, _values, result) def _reduce_32(val, _values, result)
result = RDoc::Markup::List.new :BULLET, *val[0] result = RDoc::Markup::List.new :BULLET, *val[0]
result result
end end
def _reduce_33(val, _values, result) def _reduce_33(val, _values, result)
result.push(val[1]) result.push(val[1])
result result
end end
def _reduce_34(val, _values, result) def _reduce_34(val, _values, result)
result = val result = val
result result
end end
def _reduce_35(val, _values, result) def _reduce_35(val, _values, result)
result = RDoc::Markup::ListItem.new nil, val[0], *val[1] result = RDoc::Markup::ListItem.new nil, val[0], *val[1]
result result
end end
def _reduce_36(val, _values, result) def _reduce_36(val, _values, result)
result = RDoc::Markup::List.new :NUMBER, *val[0] result = RDoc::Markup::List.new :NUMBER, *val[0]
result result
end end
def _reduce_37(val, _values, result) def _reduce_37(val, _values, result)
result.push(val[1]) result.push(val[1])
result result
end end
def _reduce_38(val, _values, result) def _reduce_38(val, _values, result)
result = val result = val
result result
end end
def _reduce_39(val, _values, result) def _reduce_39(val, _values, result)
result = RDoc::Markup::ListItem.new nil, val[0], *val[1] result = RDoc::Markup::ListItem.new nil, val[0], *val[1]
result result
end end
def _reduce_40(val, _values, result) def _reduce_40(val, _values, result)
result = RDoc::Markup::List.new :NOTE, *val[0] result = RDoc::Markup::List.new :NOTE, *val[0]
result result
end end
def _reduce_41(val, _values, result) def _reduce_41(val, _values, result)
result.push(val[1]) result.push(val[1])
result result
end end
def _reduce_42(val, _values, result) def _reduce_42(val, _values, result)
result = val result = val
result result
end end
@ -907,77 +907,77 @@ def _reduce_43(val, _values, result)
term = @inline_parser.parse val[0].strip term = @inline_parser.parse val[0].strip
result = RDoc::Markup::ListItem.new term, *val[1] result = RDoc::Markup::ListItem.new term, *val[1]
result result
end end
def _reduce_44(val, _values, result) def _reduce_44(val, _values, result)
result = RDoc::Markup::List.new :LABEL, *val[0] result = RDoc::Markup::List.new :LABEL, *val[0]
result result
end end
def _reduce_45(val, _values, result) def _reduce_45(val, _values, result)
result.push(val[1]) result.push(val[1])
result result
end end
def _reduce_46(val, _values, result) def _reduce_46(val, _values, result)
result = val result = val
result result
end end
def _reduce_47(val, _values, result) def _reduce_47(val, _values, result)
result = RDoc::Markup::ListItem.new "<tt>#{val[0].strip}</tt>", *val[1] result = RDoc::Markup::ListItem.new "<tt>#{val[0].strip}</tt>", *val[1]
result result
end end
def _reduce_48(val, _values, result) def _reduce_48(val, _values, result)
result = [val[1]].concat(val[2]) result = [val[1]].concat(val[2])
result result
end end
def _reduce_49(val, _values, result) def _reduce_49(val, _values, result)
result = [val[1]] result = [val[1]]
result result
end end
def _reduce_50(val, _values, result) def _reduce_50(val, _values, result)
result = val[2] result = val[2]
result result
end end
def _reduce_51(val, _values, result) def _reduce_51(val, _values, result)
result = [] result = []
result result
end end
def _reduce_52(val, _values, result) def _reduce_52(val, _values, result)
result.concat val[1] result.concat val[1]
result result
end end
# reduce 53 omitted # reduce 53 omitted
def _reduce_54(val, _values, result) def _reduce_54(val, _values, result)
result = val result = val
result result
end end
def _reduce_55(val, _values, result) def _reduce_55(val, _values, result)
result = val result = val
result result
end end
# reduce 56 omitted # reduce 56 omitted
def _reduce_57(val, _values, result) def _reduce_57(val, _values, result)
result = [] result = []
result result
end end
@ -991,58 +991,58 @@ end
def _reduce_62(val, _values, result) def _reduce_62(val, _values, result)
result = paragraph [val[0]].concat(val[1]) result = paragraph [val[0]].concat(val[1])
result result
end end
def _reduce_63(val, _values, result) def _reduce_63(val, _values, result)
result = paragraph [val[0]] result = paragraph [val[0]]
result result
end end
def _reduce_64(val, _values, result) def _reduce_64(val, _values, result)
result = paragraph [val[0]].concat(val[1]) result = paragraph [val[0]].concat(val[1])
result result
end end
def _reduce_65(val, _values, result) def _reduce_65(val, _values, result)
result = paragraph [val[0]] result = paragraph [val[0]]
result result
end end
def _reduce_66(val, _values, result) def _reduce_66(val, _values, result)
result = [val[0]].concat(val[1]) result = [val[0]].concat(val[1])
result result
end end
def _reduce_67(val, _values, result) def _reduce_67(val, _values, result)
result.concat val[1] result.concat val[1]
result result
end end
def _reduce_68(val, _values, result) def _reduce_68(val, _values, result)
result = val[1] result = val[1]
result result
end end
def _reduce_69(val, _values, result) def _reduce_69(val, _values, result)
result = val result = val
result result
end end
# reduce 70 omitted # reduce 70 omitted
def _reduce_71(val, _values, result) def _reduce_71(val, _values, result)
result = [] result = []
result result
end end
def _reduce_72(val, _values, result) def _reduce_72(val, _values, result)
result = [] result = []
result result
end end

View file

@ -732,12 +732,12 @@ Racc_debug_parser = false
# reduce 1 omitted # reduce 1 omitted
def _reduce_2(val, _values, result) def _reduce_2(val, _values, result)
result.append val[1] result.append val[1]
result result
end end
def _reduce_3(val, _values, result) def _reduce_3(val, _values, result)
result = val[0] result = val[0]
result result
end end
@ -762,28 +762,28 @@ end
def _reduce_13(val, _values, result) def _reduce_13(val, _values, result)
content = val[1] content = val[1]
result = inline "<em>#{content}</em>", content result = inline "<em>#{content}</em>", content
result result
end end
def _reduce_14(val, _values, result) def _reduce_14(val, _values, result)
content = val[1] content = val[1]
result = inline "<code>#{content}</code>", content result = inline "<code>#{content}</code>", content
result result
end end
def _reduce_15(val, _values, result) def _reduce_15(val, _values, result)
content = val[1] content = val[1]
result = inline "+#{content}+", content result = inline "+#{content}+", content
result result
end end
def _reduce_16(val, _values, result) def _reduce_16(val, _values, result)
content = val[1] content = val[1]
result = inline "<tt>#{content}</tt>", content result = inline "<tt>#{content}</tt>", content
result result
end end
@ -791,13 +791,13 @@ def _reduce_17(val, _values, result)
label = val[1] label = val[1]
@block_parser.add_label label.reference @block_parser.add_label label.reference
result = "<span id=\"label-#{label}\">#{label}</span>" result = "<span id=\"label-#{label}\">#{label}</span>"
result result
end end
def _reduce_18(val, _values, result) def _reduce_18(val, _values, result)
result = "{#{val[1]}}[#{val[2].join}]" result = "{#{val[1]}}[#{val[2].join}]"
result result
end end
@ -805,13 +805,13 @@ def _reduce_19(val, _values, result)
scheme, inline = val[1] scheme, inline = val[1]
result = "{#{inline}}[#{scheme}#{inline.reference}]" result = "{#{inline}}[#{scheme}#{inline.reference}]"
result result
end end
def _reduce_20(val, _values, result) def _reduce_20(val, _values, result)
result = [nil, inline(val[1])] result = [nil, inline(val[1])]
result result
end end
@ -820,25 +820,25 @@ def _reduce_21(val, _values, result)
'rdoc-label:', 'rdoc-label:',
inline("#{val[0].reference}/#{val[1].reference}") inline("#{val[0].reference}/#{val[1].reference}")
] ]
result result
end end
def _reduce_22(val, _values, result) def _reduce_22(val, _values, result)
result = ['rdoc-label:', val[0].reference] result = ['rdoc-label:', val[0].reference]
result result
end end
def _reduce_23(val, _values, result) def _reduce_23(val, _values, result)
result = ['rdoc-label:', "#{val[0].reference}/"] result = ['rdoc-label:', "#{val[0].reference}/"]
result result
end end
def _reduce_24(val, _values, result) def _reduce_24(val, _values, result)
result = [nil, inline(val[1])] result = [nil, inline(val[1])]
result result
end end
@ -847,92 +847,92 @@ def _reduce_25(val, _values, result)
'rdoc-label:', 'rdoc-label:',
inline("#{val[0].reference}/#{val[1].reference}") inline("#{val[0].reference}/#{val[1].reference}")
] ]
result result
end end
def _reduce_26(val, _values, result) def _reduce_26(val, _values, result)
result = ['rdoc-label:', val[0]] result = ['rdoc-label:', val[0]]
result result
end end
def _reduce_27(val, _values, result) def _reduce_27(val, _values, result)
ref = val[0].reference ref = val[0].reference
result = ['rdoc-label:', inline(ref, "#{ref}/")] result = ['rdoc-label:', inline(ref, "#{ref}/")]
result result
end end
# reduce 28 omitted # reduce 28 omitted
def _reduce_29(val, _values, result) def _reduce_29(val, _values, result)
result = val[1] result = val[1]
result result
end end
def _reduce_30(val, _values, result) def _reduce_30(val, _values, result)
result = val[1] result = val[1]
result result
end end
def _reduce_31(val, _values, result) def _reduce_31(val, _values, result)
result = inline val[0] result = inline val[0]
result result
end end
def _reduce_32(val, _values, result) def _reduce_32(val, _values, result)
result = inline "\"#{val[1]}\"" result = inline "\"#{val[1]}\""
result result
end end
def _reduce_33(val, _values, result) def _reduce_33(val, _values, result)
result = inline val[0] result = inline val[0]
result result
end end
def _reduce_34(val, _values, result) def _reduce_34(val, _values, result)
result = inline "\"#{val[1]}\"" result = inline "\"#{val[1]}\""
result result
end end
# reduce 35 omitted # reduce 35 omitted
def _reduce_36(val, _values, result) def _reduce_36(val, _values, result)
result = val[1] result = val[1]
result result
end end
def _reduce_37(val, _values, result) def _reduce_37(val, _values, result)
result = inline val[1] result = inline val[1]
result result
end end
def _reduce_38(val, _values, result) def _reduce_38(val, _values, result)
result = val[0].append val[1] result = val[0].append val[1]
result result
end end
def _reduce_39(val, _values, result) def _reduce_39(val, _values, result)
result = val[0].append val[1] result = val[0].append val[1]
result result
end end
def _reduce_40(val, _values, result) def _reduce_40(val, _values, result)
result = val[0] result = val[0]
result result
end end
def _reduce_41(val, _values, result) def _reduce_41(val, _values, result)
result = inline val[0] result = inline val[0]
result result
end end
@ -940,25 +940,25 @@ end
def _reduce_43(val, _values, result) def _reduce_43(val, _values, result)
result = val[0].append val[1] result = val[0].append val[1]
result result
end end
def _reduce_44(val, _values, result) def _reduce_44(val, _values, result)
result = inline val[0] result = inline val[0]
result result
end end
def _reduce_45(val, _values, result) def _reduce_45(val, _values, result)
result = val[0].append val[1] result = val[0].append val[1]
result result
end end
def _reduce_46(val, _values, result) def _reduce_46(val, _values, result)
result = val[0] result = val[0]
result result
end end
@ -984,24 +984,24 @@ end
def _reduce_57(val, _values, result) def _reduce_57(val, _values, result)
result = val[0] result = val[0]
result result
end end
def _reduce_58(val, _values, result) def _reduce_58(val, _values, result)
result = inline val[0] result = inline val[0]
result result
end end
def _reduce_59(val, _values, result) def _reduce_59(val, _values, result)
result = inline val[0] result = inline val[0]
result result
end end
def _reduce_60(val, _values, result) def _reduce_60(val, _values, result)
result << val[1] result << val[1]
result result
end end
@ -1009,7 +1009,7 @@ end
def _reduce_62(val, _values, result) def _reduce_62(val, _values, result)
result << val[1] result << val[1]
result result
end end
@ -1017,7 +1017,7 @@ end
def _reduce_64(val, _values, result) def _reduce_64(val, _values, result)
result << val[1] result << val[1]
result result
end end
@ -1048,7 +1048,7 @@ end
# reduce 77 omitted # reduce 77 omitted
def _reduce_78(val, _values, result) def _reduce_78(val, _values, result)
result << val[1] result << val[1]
result result
end end
@ -1099,13 +1099,13 @@ end
def _reduce_101(val, _values, result) def _reduce_101(val, _values, result)
index = @block_parser.add_footnote val[1].rdoc index = @block_parser.add_footnote val[1].rdoc
result = "{*#{index}}[rdoc-label:foottext-#{index}:footmark-#{index}]" result = "{*#{index}}[rdoc-label:foottext-#{index}:footmark-#{index}]"
result result
end end
def _reduce_102(val, _values, result) def _reduce_102(val, _values, result)
result = inline "<tt>#{val[1]}</tt>", val[1] result = inline "<tt>#{val[1]}</tt>", val[1]
result result
end end
@ -1122,7 +1122,7 @@ end
# reduce 108 omitted # reduce 108 omitted
def _reduce_109(val, _values, result) def _reduce_109(val, _values, result)
result << val[1] result << val[1]
result result
end end
@ -1130,24 +1130,24 @@ end
def _reduce_111(val, _values, result) def _reduce_111(val, _values, result)
result = inline val[0] result = inline val[0]
result result
end end
# reduce 112 omitted # reduce 112 omitted
def _reduce_113(val, _values, result) def _reduce_113(val, _values, result)
result = val[1] result = val[1]
result result
end end
def _reduce_114(val, _values, result) def _reduce_114(val, _values, result)
result = val[1] result = val[1]
result result
end end
def _reduce_115(val, _values, result) def _reduce_115(val, _values, result)
result = val[1] result = val[1]
result result
end end
@ -1192,7 +1192,7 @@ end
# reduce 135 omitted # reduce 135 omitted
def _reduce_136(val, _values, result) def _reduce_136(val, _values, result)
result << val[1] result << val[1]
result result
end end