aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)