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

index 3131591..1e27e5a 100644 (file)
@@ -131,7 +131,7 @@ TokenReader = XObject.define(
             var found = "";
             
             while (!stream.look().eof && Lang.isSpace(stream.look())) {
-                
+                if (Lang.isNewLine()) break;
                 found += stream.next();
             }