src/jsdoc/PackerRun.vala
authorAlan Knowles <alan@roojs.com>
Fri, 17 Mar 2017 08:26:03 +0000 (16:26 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 17 Mar 2017 08:26:03 +0000 (16:26 +0800)
src/jsdoc/PackerRun.vala

index 53f974d..98c74b1 100644 (file)
@@ -210,18 +210,19 @@ namespace JSDOC
                        }  
                        
                        var run_pack = false;
-                       if (opt_target != null || opt_target_debug != null) {
-                               run_pack = true;
-                       }
-                       
+                       if (opt_target != null || opt_debug_target != null || opt_dump_tokens) {
                        
-                       p.pack( opt_target == null ? "" : opt_target ,
-                                       opt_debug_target == null ? "" :  opt_debug_target );
-            
-               if (p.outstr.length > 0 ) {
-                               stdout.printf ("%s", p.outstr);
-                       }
-            
+                               p.pack( opt_target == null ? "" : opt_target ,
+                                               opt_debug_target == null ? "" :  opt_debug_target );
+                       
+                       if (p.outstr.length > 0 ) {
+                                       stdout.printf ("%s", p.outstr);
+                               }
+               }
+               
+               
+               
+               
                }        
                
        }