[dmd-beta] dmd 1.059 and 2.044 beta

Rainer Schuetze r.sagitario at gmx.de
Sat May 1 00:37:15 PDT 2010


Walter Bright wrote:
> Not as many changes this time, as I was out for 2 weeks in England.
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
Quite a good number of fixes nevertheless...

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.

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");
 }



More information about the dmd-beta mailing list