[dmd-beta] dmd 1.059 and 2.044 beta

Walter Bright walter at digitalmars.com
Sat May 1 08:37:55 PDT 2010



Rainer Schuetze wrote:
>
>
>
> The fix to #4089 (crash when creating JSON output for incomplete 
> struct) is incomplete, it now produces trailing commas. I've appended 
> the missed changes.

But I just checked, they're already there in the source! Can you email 
me your json.c so I can diff it?

>
> Otherwise I did not notice any problems with building Visual D (I had 
> to build dmd from source to apply #4015, though).
>
> Rainer
>
> Index: json.c
> ===================================================================
> --- json.c    (revision 461)
> +++ json.c    (working copy)
> @@ -330,6 +330,7 @@
>         JsonRemoveComma(buf);
>         buf->writestring("]\n");
>     }
> +    JsonRemoveComma(buf);
>
>     buf->writestring("}\n");
> }
> @@ -412,6 +413,7 @@
>         JsonRemoveComma(buf);
>         buf->writestring("]\n");
>     }
> +    JsonRemoveComma(buf);
>
>     buf->writestring("}\n");
> }
>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
>


More information about the dmd-beta mailing list