Thread overview
[dmd-internals] dmd commit, revision 620
Aug 17, 2010
dsource.org
Aug 18, 2010
Johannes Pfau
Sep 17, 2010
Johannes Pfau
August 17, 2010
dmd commit, revision 620


user: walter

msg:
bugzilla 3554 Ddoc generats invalid output for documentation comments with non paired paranthasis

http://www.dsource.org/projects/dmd/changeset/620

August 18, 2010
 On 18.08.2010 00:21, dsource.org wrote:
> dmd commit, revision 620
>
>
> user: walter
>
> msg:
> bugzilla 3554 Ddoc generats invalid output for documentation comments with non paired paranthasis
>
> http://www.dsource.org/projects/dmd/changeset/620
>
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
The second for loop is an interesting solution to avoid the array. Why
haven't I thought of this?
And thanks for looking into this, this was a really annoying problem.

-- 
Johannes Pfau

September 17, 2010
 On 18.08.2010 00:21, dsource.org wrote:
> dmd commit, revision 620
>
>
> user: walter
>
> msg:
> bugzilla 3554 Ddoc generats invalid output for documentation comments with non paired paranthasis
>
> http://www.dsource.org/projects/dmd/changeset/620
>
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
Hi Walter,
I just looked at the code again (because of another ddoc bug) and it
seems like you forgot to include the default definitions for the LPARAM
and RPARAM macros when you rewrote the patch. I think the defaults for
those macros should be included in dmd:

--- doc.c.orig	2010-08-10 19:49:40.000000000 +0200
+++ doc.c	2010-08-17 12:01:43.451998318 +0200
@@ -187,6 +187,8 @@
 ESCAPES = /</&lt;/\n\
           />/&gt;/\n\
           /&/&amp;/\n\
+RPAREN = )\n\
+LPAREN = (\n\
 ";

 static char ddoc_decl_s[] = "$(DDOC_DECL "


-- 
Johannes Pfau

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20100917/050fb4eb/attachment.html>