fix to handle redefinition of 'undefined' (yuck)

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3973 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
dolby-oss 2010-10-11 14:28:24 +00:00
parent aa5bd8399e
commit bfb9abe0c0
1 changed files with 1 additions and 1 deletions

View File

@ -1043,7 +1043,7 @@ public class RhinoToAstTranslator {
Node nm = n.getFirstChild();
while (nm != null) {
context.addInitializer(Ast.makeNode(CAstNode.DECL_STMT, Ast.makeConstant(new CAstSymbolImpl(nm.getString())),
readName(context, "undefined")));
readName(context, "$$undefined")));
if (nm.getFirstChild() != null) {
WalkContext child = new ExpressionContext(context);