JSDOC/TokenReader.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 07:15:10 +0000 (15:15 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 07:15:10 +0000 (15:15 +0800)
JSDOC/TokenReader.js

index f60fa7b..3131591 100644 (file)
@@ -131,13 +131,14 @@ TokenReader = XObject.define(
             var found = "";
             
             while (!stream.look().eof && Lang.isSpace(stream.look())) {
+                
                 found += stream.next();
             }
             
             if (found === "") {
                 return false;
             }
-             
+            print("WHITE = " + JSON.stringify(found)); 
             if (this.collapseWhite) found = " ";
             if (this.keepWhite) tokens.push(new Token(found, "WHIT", "SPACE", this.line));
             return true;