Skip to content

Commit

Permalink
Fix ddoc10. The recent changes were incomplete.
Browse files Browse the repository at this point in the history
  • Loading branch information
braddr committed Feb 6, 2011
1 parent 50d675e commit 218c8c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 1 addition & 2 deletions test/compilable/extra-files/ddoc10-postscript.sh
@@ -1,7 +1,6 @@
#!/bin/bash

grep -v "Generated by Ddoc from" ${RESULTS_DIR}/compilable/ddoc10.html > ${RESULTS_DIR}/compilable/ddoc10.html.2
diff --strip-trailing-cr compilable/extra-files/ddoc10.html ${RESULTS_DIR}/compilable/ddoc10.html.2
diff --strip-trailing-cr compilable/extra-files/ddoc10.html ${RESULTS_DIR}/compilable/ddoc10.html
if [ $? -ne 0 ]; then
exit 1;
fi
Expand Down
7 changes: 6 additions & 1 deletion test/compilable/extra-files/ddoc10.html
Expand Up @@ -3,7 +3,7 @@
<title>ddoc10</title>
</head><body>
<h1>ddoc10</h1>
<!-- Generated by Ddoc from ddoc10.d -->
<!-- Generated by Ddoc from compilable/ddoc10.d -->
<br><br>
<dl><dt><big>struct <u>Foo</u>(T);
<br>struct <u>Foo</u>(T,U);
Expand Down Expand Up @@ -85,6 +85,11 @@ <h1>ddoc10</h1>
</big></dt>
<dd>show abstract <br><br>

</dd>
<dt><big>void <u>bug4878</u>(string <i>a</i> = ")");
</big></dt>
<dd><i>a</i> stray ) mustn't foul the macros<br><br>

</dd>
<dt><big>struct <u>S</u>;
</big></dt>
Expand Down

0 comments on commit 218c8c5

Please sign in to comment.