From 594391f44e73531a462f610c3c589f2db50e86b7 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 15:15:10 +0800 Subject: [PATCH] JSDOC/TokenReader.js --- JSDOC/TokenReader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JSDOC/TokenReader.js b/JSDOC/TokenReader.js index f60fa7b..3131591 100644 --- a/JSDOC/TokenReader.js +++ b/JSDOC/TokenReader.js @@ -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; -- 2.39.2