Skip to content

Commit

Permalink
Minor edit.
Browse files Browse the repository at this point in the history
  • Loading branch information
dimvar committed Dec 12, 2011
1 parent 9c3a084 commit ec34ec8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cfa2/jscfa.js
Expand Up @@ -210,7 +210,7 @@ function idNode(t, name) {
return n;
}

var astSize = 0; // calculated for statistics
var astSize; // calculated for statistics

// node, optional string -> node
// Does some cleanup on the input expression node in-place.
Expand Down Expand Up @@ -3655,6 +3655,7 @@ var initOtherGlobals, initOtherObjs;
// consumes the ast returned by jsparse.parse
function cfa2(ast) {
count = 0;
astSize = 0;
initGlobals();
initOtherGlobals && initOtherGlobals();
//print("fixStm start");
Expand Down

0 comments on commit ec34ec8

Please sign in to comment.