On Saturday, 7 June 2014 at 17:46:06 UTC, Tom Browder via Digitalmars-d wrote:
On Sat, Jun 7, 2014 at 12:05 PM, Tom Browder <[email protected]> wrote:
On Sat, Jun 7, 2014 at 11:26 AM, Jacob Carlborg via Digitalmars-d
<[email protected]> wrote:
...
There's already a tool for that [1]. It uses the JSON output from the
compiler.

[1] https://github.com/D-Programming-Language/tools/blob/master/dtoh.d
...

And Jacob, when I try your dstep on a header preprocessed with gcc -E

AFAIR `gcc- E` output is not a valid C on its own, no wonder libclang chokes on it. Using llvm/clang toolchain with dstep results in much more pleasant experience (not surprisingly as dstep is implemented on top of it)

Reply via email to