projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d127a63
)
Made mkref script handle the case of a void parameter correctly. Allowed
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 13 Feb 2008 20:14:38 +0000
(20:14 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 13 Feb 2008 20:14:38 +0000
(20:14 +0000)
text lines to begin with any whitespace character (not just space).
doc/mkref
patch
|
blob
|
history
diff --git
a/doc/mkref
b/doc/mkref
index 50837fed2f4b753173fb9352a1ffeb14c4d0b5a3..8ded9c1911a58bc6cb1580ec880eb4cd7606bf65 100755
(executable)
--- a/
doc/mkref
+++ b/
doc/mkref
@@
-62,6
+62,10
@@
while($s = <>){
</funcsynopsis>
</refsynopsisdiv>
";
+ }elsif($s =~ m/^Param:[[:space:]]*void/){
+ print
+" <void/>
+"
}elsif($s =~ m/^Param: (.*)/){
$p = $1;
$p =~ m/(.*) (.*)/;
@@
-110,7
+114,7
@@
while($s = <>){
";
}elsif($s eq ""){
print "</para><para>\n";
- }elsif($s =~ m/^
(.*)/){
+ }elsif($s =~ m/^
[\s]
(.*)/){
print "$1\n";
}
}