From 1b3376461a9346537b41d0dab8dee0aae22c33b1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 15:20:32 +0800 Subject: [PATCH] JSDOC/TokenReader.js --- JSDOC/TokenReader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JSDOC/TokenReader.js b/JSDOC/TokenReader.js index 738078a..cf732c7 100644 --- a/JSDOC/TokenReader.js +++ b/JSDOC/TokenReader.js @@ -204,7 +204,7 @@ TokenReader = XObject.define( || (stream.look() == "<" && stream.look(1) == "!" && stream.look(2) == "-" && stream.look(3) == "-" && (found=stream.next(4))) ) { - + var line = this.line; while (!stream.look().eof && !Lang.isNewline(stream.look())) { found += stream.next(); } @@ -212,7 +212,7 @@ TokenReader = XObject.define( found += stream.next(); } if (this.keepComments) { - tokens.push(new Token(found, "COMM", "SINGLE_LINE_COMM", this.line)); + tokens.push(new Token(found, "COMM", "SINGLE_LINE_COMM", line)); } this.line++; return true; -- 2.39.2