www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16167] New: chm-nav.json generation is broken

https://issues.dlang.org/show_bug.cgi?id=16167

          Issue ID: 16167
           Summary: chm-nav.json generation is broken
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dlang.org
          Assignee: thecybershadow gmail.com
          Reporter: code dawg.eu

The nightlies don't build since 2016-06-10 b/c chmgen fails to parse
chm-nav.json.
http://nightlies.dlang.org/dmd-2016-06-11/build.html

Can we somehow include a test in the dlang.org tester, that chm-nav.json is
valid json?

---
Loading navigation

std.json.JSONException std\json.d(1336): Unexpected character '<'. (Line 1:240)
----------------
0x00430C12 in pure  safe void
std.json.parseJSON!(immutable(char)[]).parseJSON(immutable(char)[], int,
std.json.JSONOptions).error(immutable(char)[]) at
C:\Users\vagrant\clones\dmd\src\..\..\phobos\std\json.d(729)
...
0x00430BD6 in  safe std.json.JSONValue
std.json.parseJSON!(immutable(char)[]).parseJSON(immutable(char)[], int,
std.json.JSONOptions) at
C:\Users\vagrant\clones\dmd\src\..\..\phobos\std\json.d(1032)
0x00403476 in void chmgen.loadNavigation() at
C:\Users\vagrant\clones\dlang.org\chmgen.d(204)
0x004032C2 in _Dmain at C:\Users\vagrant\clones\dlang.org\chmgen.d(170)
---

--
Jun 12 2016