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:
parent
aa5bd8399e
commit
bfb9abe0c0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue