X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FTokenReader.js;h=313159172057e0591b70a7a25de0e3631f2f4a71;hp=f60fa7b7cc94ddb36765298ec8dc3b52f8eae39a;hb=594391f44e73531a462f610c3c589f2db50e86b7;hpb=1269be9110a0f7a5b801ad7d591128202f21038c 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;