--- Comment #3 from Johannes Pfau <> 2010-09-21 07:38:26 
PDT ---
OK, I can confirm that.
So the line information is missing if the comment is a module comment. The dmd
main function calls Module::gendocfile() which calls
DocComment::writeSections() directly. In this case the Module's loc member is
never set and therefore the line information is missing, I don't know how to
fix this though.

In case you're interested why the parenthesis error occurs:
The second line in the comment, "" is the
problem. Because of the colon dmd thinks you define a ddoc section named "http"
with content "//". Because parenthesis must be
closed in the section they were opened in the stray parenthesis error occurs.

Possible workarounds are:
1. Join those two lines into one
2. Section names cannot contain spaces, so move the 'at' to the second line
(See accompanying file LICENSE_1_0.txt or copy
3. Use a macro. _Every_ macro will work
(See accompanying file LICENSE_1_0.txt or copy at

(See accompanying file LICENSE_1_0.txt or copy at

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to