--- a/nashorn/src/jdk/nashorn/internal/codegen/Attr.java Wed Aug 21 17:28:53 2013 +0530
+++ b/nashorn/src/jdk/nashorn/internal/codegen/Attr.java Fri Aug 23 12:43:32 2013 +0200
@@ -543,8 +543,6 @@
public Node leaveIdentNode(final IdentNode identNode) {
final String name = identNode.getName();
- start(identNode);
-
if (identNode.isPropertyName()) {
// assign a pseudo symbol to property name
final Symbol pseudoSymbol = pseudoSymbol(name);
@@ -1850,9 +1848,10 @@
append("] ").
append(printNode ? node.toString() : "").
append(" in '").
- append(lc.getCurrentFunction().getName());
+ append(lc.getCurrentFunction().getName()).
+ append('\'');
- if(node instanceof Expression) {
+ if (node instanceof Expression) {
final Symbol symbol = ((Expression)node).getSymbol();
if (symbol == null) {
sb.append(" <NO SYMBOL>");