Author: gotcha
Date: Wed Dec 26 15:02:17 2007
New Revision: 50123

Modified:
   kukit/kukit.js/branch/finish-closures/kukit/tokenizer.js
Log:
semicolons ease debugging

Modified: kukit/kukit.js/branch/finish-closures/kukit/tokenizer.js
==============================================================================
--- kukit/kukit.js/branch/finish-closures/kukit/tokenizer.js    (original)
+++ kukit/kukit.js/branch/finish-closures/kukit/tokenizer.js    Wed Dec 26 
15:02:17 2007
@@ -43,8 +43,8 @@
         } else {
 ;;;         kukit.E = 'Unexpected EOF.';
             this.emitError(kukit.E);
-        }
-    }
+        };
+    };
 };
 
 };
@@ -72,13 +72,13 @@
         if (pos != -1 && pos < best_pos) {
             best_pos = pos;
             best_symbol = symbol;
-        }
-    }
+        };
+    };
     // eat up till the symbol found (of EOF)
     if (best_pos > cursor.pos) {
         this.result.push(new tk.Fraction(cursor, best_pos));
         cursor.pos = best_pos;
-    }
+    };
     if (best_symbol) {
         // found a symbol, handle that
         // make the token and push it
@@ -86,12 +86,12 @@
         if (typeof(tokens) != 'undefined') {
             if (typeof(tokens.length) == 'undefined') {
                 tokens = [tokens];
-            }
+            };
             for (var i=0; i<tokens.length; i++) {
                 this.result.push(tokens[i]);
-            }
-        }
-    }
+            };
+        };
+    };
 };
 
 /* token postprocess support */
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to