From c0e48a4b3fb7a07400e261ff3ab7f53e2703a05c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 15:19:56 +0800 Subject: [PATCH] JSDOC/TokenReader.js --- JSDOC/TokenReader.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/JSDOC/TokenReader.js b/JSDOC/TokenReader.js index 2657ccd..738078a 100644 --- a/JSDOC/TokenReader.js +++ b/JSDOC/TokenReader.js @@ -208,7 +208,9 @@ TokenReader = XObject.define( while (!stream.look().eof && !Lang.isNewline(stream.look())) { found += stream.next(); } - + if (!stream.look().eof) { + found += stream.next(); + } if (this.keepComments) { tokens.push(new Token(found, "COMM", "SINGLE_LINE_COMM", this.line)); } -- 2.39.2