This is an automated email from the ASF dual-hosted git repository. davisp pushed a commit to reference refs/pull/133/head in repository https://gitbox.apache.org/repos/asf/couchdb-escodegen.git
commit 62116bf28f52c8e09da06023fff148f448675e10 Author: Kyle Simpson <[email protected]> AuthorDate: Mon Sep 23 10:56:01 2013 -0400 handling extras on identifier nodes --- escodegen.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/escodegen.js b/escodegen.js index c9c814b..d5618c1 100644 --- a/escodegen.js +++ b/escodegen.js @@ -896,7 +896,11 @@ } function generateIdentifier(node) { - return toSourceNode(node.name, node); + var ret = toSourceNode(node.name, node); + if (node.extras) { + ret = addExtrasToNode(node,ret); + } + return ret; } function generateFunctionBody(node) {
