aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Rennie2013-12-11 12:30:25 (EST)
committerGerrit Code Review @ Eclipse.org2013-12-11 13:23:57 (EST)
commit4e6ac1d8386bfaf775e2769c59cdefbfba2cff08 (patch)
tree0f37f1f340197cfd5bc4ea396d3671863ed365f1
parent83b2f6f982af0c90a0f2f14268ee33d5067a0de5 (diff)
downloadorg.eclipse.orion.client-4e6ac1d8386bfaf775e2769c59cdefbfba2cff08.zip
org.eclipse.orion.client-4e6ac1d8386bfaf775e2769c59cdefbfba2cff08.tar.gz
org.eclipse.orion.client-4e6ac1d8386bfaf775e2769c59cdefbfba2cff08.tar.bz2
Bug 423634 - VariableDeclarator initializer not correctly markedrefs/changes/58/19658/2
Change-Id: I1dba1ffd7d9b775c35d42f369322f8874dc34352 Signed-off-by: Mike Rennie <Michael_Rennie@ca.ibm.com>
-rw-r--r--bundles/org.eclipse.orion.client.javascript/web/javascript/occurrences.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.orion.client.javascript/web/javascript/occurrences.js b/bundles/org.eclipse.orion.client.javascript/web/javascript/occurrences.js
index c81cb3e..e1b790d 100644
--- a/bundles/org.eclipse.orion.client.javascript/web/javascript/occurrences.js
+++ b/bundles/org.eclipse.orion.client.javascript/web/javascript/occurrences.js
@@ -137,6 +137,7 @@ define([
break;
case Estraverse.Syntax.VariableDeclarator:
this.checkId(node.id, this.GENERAL, true);
+ this.checkId(node.init);
break;
case Estraverse.Syntax.NewExpression:
this.checkId(node.callee, this.FUNCTION, false);