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

index 79446bc..3db1c09 100644 (file)
@@ -131,7 +131,7 @@ TokenReader = XObject.define(
             var found = "";
             
             while (!stream.look().eof && Lang.isSpace(stream.look())) {
-                if (Lang.isNewline()) break;
+                if (Lang.isNewline(stream.look())) break;
                 found += stream.next();
             }