diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-09 19:20:42 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-09 19:20:42 -0800 |
commit | 1a034acee13576bc252ef1ca3f91d0d35ba9a85e (patch) | |
tree | 44be270476a6d80c56bd0e43adae5ff09b7d0ab2 | |
parent | 8c7ca2e30044925bcf611ddc816580d6746c7101 (diff) |
Updated renderAST in lib.
-rwxr-xr-x | js/lib/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/index.js b/js/lib/index.js index 3ded1df..f1023c1 100755 --- a/js/lib/index.js +++ b/js/lib/index.js @@ -14,7 +14,7 @@ var util = require('util'); var renderAST = function(tree) { - return util.inspect(tree, {depth: null}); + return util.inspect(tree.toAST(), {depth: null}); }; module.exports.Node = require('./node'); |