[Issue 3440] New: invalid -X JSON output, a comma is missing
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 25 20:34:51 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3440
Summary: invalid -X JSON output, a comma is missing
Product: D
Version: 2.035
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: echochamber at gmail.com
--- Comment #0 from MIURA Masahiro <echochamber at gmail.com> 2009-10-25 20:34:50 PDT ---
% cat foo.d
module foo;
private {
int i;
typedef int[int] MyAA;
}
% dmd -X -c foo.d
% cat -n foo.json
1 {
2 "name" : "foo",
3 "kind" : "module",
4 "file" : "foo.d",
5 "members" : [
6 {
7 "name" : "i",
8 "kind" : "variable",
9 "type" : "int",
10 "line" : 4}
11 {
12 "name" : "MyAA",
13 "kind" : "typedef",
14 "type" : "MyAA",
15 "line" : 5,
16 "base" : "int[int]"}
17 ]
18 }
%
There should be a comma between lines 10 and 11.
--
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