diff --git a/README.md b/README.md index e926458..0ea7ae6 100644 --- a/README.md +++ b/README.md @@ -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 @@ -234,3 +233,8 @@ but not yet implemented. + +For more readable output, pipe the command through [xmllint](http://xmlsoft.org/xmllint.html) +using its formatting switch. + + $ dscanner --ast helloworld.d | xmllint --format - diff --git a/libdparse b/libdparse index c5b458b..3b93829 160000 --- a/libdparse +++ b/libdparse @@ -1 +1 @@ -Subproject commit c5b458b518ec26c6a59b3d16ffb39d10fe121d27 +Subproject commit 3b938293461a47e1c9a5843b31b1c8c945d0c8f8