JSDOC/Packer.vala
authorAlan Knowles <alan@roojs.com>
Wed, 28 Oct 2015 10:04:17 +0000 (18:04 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Oct 2015 10:04:17 +0000 (18:04 +0800)
JSDOC/Packer.vala

index 7d09216..a119bd3 100644 (file)
@@ -194,11 +194,9 @@ namespace JSDOC
                    if (this.debugTarget > 0) {
                            this.targetDebugStream.write("");
                    }
-                  
-                   for(var i=0; i < this.files.length; i++)  {
-                       var file = this.files[i];
+                   foreach(var file in this.files) {
                        
-                       print("reading " +file );
+                       print("reading %s\n",file );
                        if (!File.isFile(file)) {
                            print("SKIP (is not a file) " + file);
                            continue;