aboutsummaryrefslogtreecommitdiff
path: root/lib/scope.js
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2012-09-18 14:17:23 +0300
committerMihai Bazon <mihai@bazon.net>2012-09-18 14:17:23 +0300
commit669874d46b42a6241f271c57d8f731ba0a2ca61a (patch)
tree9650a06fc842c05bddfd57f4472880630d1e6c0a /lib/scope.js
parent3da0ac4897e1b12adbdedbfa1c3a145931f0af56 (diff)
downloadtracifyjs-669874d46b42a6241f271c57d8f731ba0a2ca61a.tar.gz
tracifyjs-669874d46b42a6241f271c57d8f731ba0a2ca61a.zip
minor
Diffstat (limited to 'lib/scope.js')
-rw-r--r--lib/scope.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/scope.js b/lib/scope.js
index dfbff4b8..f8d3ac5e 100644
--- a/lib/scope.js
+++ b/lib/scope.js
@@ -373,7 +373,7 @@ AST_Toplevel.DEFMETHOD("compute_char_frequency", function(){
else if (node instanceof AST_While)
base54.consider("while");
else if (node instanceof AST_Do)
- base54.consider("dowhile");
+ base54.consider("do while");
else if (node instanceof AST_If) {
base54.consider("if");
if (node.alternative) base54.consider("else");
@@ -387,7 +387,7 @@ AST_Toplevel.DEFMETHOD("compute_char_frequency", function(){
else if (node instanceof AST_For)
base54.consider("for");
else if (node instanceof AST_ForIn)
- base54.consider("forin");
+ base54.consider("for in");
else if (node instanceof AST_Switch)
base54.consider("switch");
else if (node instanceof AST_Case)