Skip to content

Commit 6eb3bbc

Browse files
committed
DOC: generate from json format
1 parent 75bd745 commit 6eb3bbc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

documentation/mkref.bas

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ func fix_comments(comments)
4444
comments = translate(comments, " ", " ")
4545
comments = translate(comments, "<code>", "--Example--" + chr(10))
4646
comments = translate(comments, "</code>", chr(10) + "--End Of Example--")
47-
comments = translate(comments, NL, chr(10))
47+
comments = translate(comments, "\\r\\n", chr(10))
4848
fix_comments = comments
4949
end
5050

5151
sub mk_help(byref in_map)
52+
local i, row, group, type, keyword, syntax, brief
5253
local in_map_len = len(in_map) - 1
5354
for i = 0 to in_map_len
5455
row = in_map(i).body_value
@@ -62,7 +63,7 @@ sub mk_help(byref in_map)
6263
end
6364

6465
sub mk_text_reference(byref in_map)
65-
local NL = "\\r\\n"
66+
local i, row, group, type, keyword, syntax, brief, comments
6667
local in_map_len = len(in_map) - 1
6768
local end_block = "<!-- end heading block -->"
6869

0 commit comments

Comments
 (0)