JSDOC/TokenReader.vala
authorAlan Knowles <alan@roojs.com>
Tue, 27 Oct 2015 09:19:43 +0000 (17:19 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 27 Oct 2015 09:19:43 +0000 (17:19 +0800)
JSDOC/TokenReader.vala

index f77df4a..e58eed1 100644 (file)
@@ -416,9 +416,9 @@ namespace JSDOC {
             ) {
                 var line = this.line;
                 while (!stream.lookEOF()) {
-                                       print(Lang.isNewline(stream.look().to_string());
+                                       print(stream.look().to_string());
                        if ( !Lang.isNewline(stream.look().to_string())) {
-                               
+                               break;
                        }
                     found += stream.next();
                 }