Fix an issue where additional lines of a function definition didn't line
up with the primary (leading) line of syntax.
This commit is contained in:
parent
1c707e42a9
commit
41166e501a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258728
@ -87,13 +87,13 @@ show_include()
|
||||
if (show_desc && print_more) {
|
||||
getline
|
||||
while ($0 ~ /^#/) {
|
||||
print substr($0, 2)
|
||||
print " " substr($0, 2)
|
||||
getline
|
||||
}
|
||||
print_more = 0
|
||||
} else while (print_more) {
|
||||
getline
|
||||
print substr($0, 2)
|
||||
print " " substr($0, 2)
|
||||
print_more = substr($0, length($0)) == "\\"
|
||||
}
|
||||
}' "$file" )
|
||||
|
Loading…
Reference in New Issue
Block a user