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
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta


_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to