Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Issue 11511 - DDoc - C variadic parameters cannot be properly doc…
…umented.
- Loading branch information
1 parent
c5ebee1
commit a01afe0
Showing
3 changed files
with
92 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// PERMUTE_ARGS: | ||
// REQUIRED_ARGS: -w -D -Dd${RESULTS_DIR}/compilable -o- | ||
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 11511 | ||
module ddoc11511; | ||
|
||
/** | ||
Params: | ||
abcd = none1 | ||
bcdef = none23 | ||
... = doo | ||
*/ | ||
void foo(int abcd, int bcdef, ...); | ||
|
||
/** | ||
Params: | ||
abcd = none1 | ||
bcdef = none23 | ||
arr = doo | ||
*/ | ||
void foo(int abcd, int bcdef, int[] arr...); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<html><head> | ||
<META http-equiv="content-type" content="text/html; charset=utf-8"> | ||
<title>ddoc11511</title> | ||
</head><body> | ||
<h1>ddoc11511</h1> | ||
<br><br> | ||
<dl><dt><big><a name="foo"></a>void <u>foo</u>(int <i>abcd</i>, int <i>bcdef</i>, ...); | ||
</big></dt> | ||
<dd><b>Params:</b><br> | ||
<table><tr><td>int <i>abcd</i></td> | ||
<td>none1</td></tr> | ||
<tr><td>int <i>bcdef</i></td> | ||
<td>none23</td></tr> | ||
<tr><td>...</td> | ||
<td>doo</td></tr> | ||
</table><br> | ||
|
||
</dd> | ||
<dt><big><a name="foo"></a>void <u>foo</u>(int <i>abcd</i>, int <i>bcdef</i>, int[] <i>arr</i>...); | ||
</big></dt> | ||
<dd><b>Params:</b><br> | ||
<table><tr><td>int <i>abcd</i></td> | ||
<td>none1</td></tr> | ||
<tr><td>int <i>bcdef</i></td> | ||
<td>none23</td></tr> | ||
<tr><td>int[] <i>arr</i></td> | ||
<td>doo</td></tr> | ||
</table><br> | ||
|
||
</dd> | ||
</dl> | ||
|
||
<hr><small>Page generated by <a href="http://dlang.org/ddoc.html">Ddoc</a>. </small> | ||
</body></html> |