Commit 2d8db3c6 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2230 from take-cheeze/doc_update

Fix document generator to remove trailing space in generated document.
parents fb77b033 b03330b3
...@@ -806,12 +806,6 @@ ISO Code | Source File | C Function ...@@ -806,12 +806,6 @@ ISO Code | Source File | C Function
--- | --- | --- --- | --- | ---
15.2.14.4.3 | src/range.c | mrb_range_beg 15.2.14.4.3 | src/range.c | mrb_range_beg
#### each
ISO Code | Source File | C Function
--- | --- | ---
15.2.14.4.4 | src/range.c | mrb_range_each
#### end #### end
ISO Code | Source File | C Function ISO Code | Source File | C Function
...@@ -1372,12 +1366,6 @@ ISO Code | Source File | C Function ...@@ -1372,12 +1366,6 @@ ISO Code | Source File | C Function
--- | --- | --- --- | --- | ---
15.3.1.3.3 | src/kernel.c | mrb_obj_id_m 15.3.1.3.3 | src/kernel.c | mrb_obj_id_m
#### __method__
ISO Code | Source File | C Function
--- | --- | ---
n/a | src/kernel.c | mrb_f_method
#### __send__ #### __send__
ISO Code | Source File | C Function ISO Code | Source File | C Function
......
...@@ -96,8 +96,8 @@ CLASS ...@@ -96,8 +96,8 @@ CLASS
def print_method(io, met_name, met_hsh, cfg) def print_method(io, met_name, met_hsh, cfg)
if cfg[:print_line_no] if cfg[:print_line_no]
line_no_head = '| Line' line_no_head = ' | Line'
line_no = "| #{find_c_func(met_hsh[:c_func])[:line_no]}" line_no = " | #{find_c_func(met_hsh[:c_func])[:line_no]}"
else else
line_no, line_no_head = '', '' line_no, line_no_head = '', ''
end end
...@@ -109,9 +109,9 @@ CLASS ...@@ -109,9 +109,9 @@ CLASS
io.puts <<METHOD io.puts <<METHOD
#### #{met_name} #### #{met_name}
ISO Code | Source File | C Function #{line_no_head} ISO Code | Source File | C Function#{line_no_head}
--- | --- | --- --- | --- | ---
#{iso} | #{file} | #{met_hsh[:c_func]} #{line_no} #{iso} | #{file} | #{met_hsh[:c_func]}#{line_no}
METHOD METHOD
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment