Bug 17163 – [Reg] Basic Ddoc generation no longer works

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-02-09T09:00:06Z
Last change time
2020-11-16T21:16:34Z
Keywords
ddoc
Assigned to
No Owner
Creator
Walter Bright

Comments

Comment #0 by bugzilla — 2017-02-09T09:00:06Z
Given the following source file: /** My Documentation */ void foo() { } And compiling with: dmd -c -o- bug17 -D Gives the following output with dmd 2.067: <html><head> <META http-equiv="content-type" content="text/html; charset=utf-8"> <title>bug17</title> </head><body> <h1>bug17</h1> <!-- Generated by Ddoc from bug17.d --> <br><br> <dl><dt><big><a name="foo"></a>void <u>foo</u>(); </big></dt> <dd>My Documentation<br><br> </dd> </dl> <hr><small>Page generated by <a href="http://dlang.org/ddoc.html">Ddoc</a>. </small> </body></html> but with HEAD: <html><head> <!-- Generated by Ddoc from bug17.d -. <META http-equiv="content-type" content="text/html; charset=utf-8"> <title>bug17</title> </head><body> <h1>bug17</h1> <br><br> <dl></dl> <hr><small>Page generated by <a href="http://dlang.org/ddoc.html">Ddoc</a>. </small> </body></html> i.e. the html for "foo" and "My Documentation" has vanished.
Comment #1 by snarwin+bugzilla — 2020-11-16T21:16:34Z
Works with DMD 2.094.0