Update dsymbol dependency for better ddoc parsing; update README

This commit is contained in:
Hackerpilot 2016-01-07 15:55:59 -08:00
parent 4b0c75354e
commit 80516ade0d
2 changed files with 7 additions and 3 deletions

View File

@ -154,8 +154,7 @@ outline of the file's declarations to stdout.
### AST Dump
The "--ast" or "--xml" options will dump the complete abstract syntax tree of
the given source file to standard output in XML format. JSON output is planned
but not yet implemented.
the given source file to standard output in XML format.
$ dscanner --ast helloworld.d
<module>
@ -234,3 +233,8 @@ but not yet implemented.
</functionDeclaration>
</declaration>
</module>
For more readable output, pipe the command through [xmllint](http://xmlsoft.org/xmllint.html)
using its formatting switch.
$ dscanner --ast helloworld.d | xmllint --format -

@ -1 +1 @@
Subproject commit c5b458b518ec26c6a59b3d16ffb39d10fe121d27
Subproject commit 3b938293461a47e1c9a5843b31b1c8c945d0c8f8