[Issue 3554] Ddoc generates invalid output for documentation comments with non paired parantheses
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Dec 21 02:13:18 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3554
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
--- Comment #18 from Don <clugdbug at yahoo.com.au> 2010-12-21 02:06:39 PST ---
(In reply to comment #17)
> Just a note. This program, compiled with -w:
>
>
> /// Return a random number in [0, 10)
> void foo() {}
> void main() {}
>
>
> Prints:
> test3.d(2): Warning: Ddoc: Stray ')'. This may cause incorrect Ddoc output. Use
> $(RPAREN) instead for unpaired right parentheses.
>
> But the generated HTML is correct.
This behaviour is intentional. DDoc now inserts a $(RPAREN) for you, that's why
it's a warning, not an error.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list