File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -473,6 +473,7 @@ private function process_single_file($filename)
473473 echo " " .$ this ->filecount ." files " .PHP_EOL ;
474474 }
475475 $ this ->filecount ++;
476+ $ startfile = microtime (true );
476477
477478 $ this ->setMFile ((string ) $ filename );
478479 $ file = file_get_contents ($ this ->mFile );
@@ -487,12 +488,14 @@ private function process_single_file($filename)
487488 }
488489
489490 $ struct = $ this ->struct ($ this ->mParser ->parse ($ file ), TRUE );
491+ $ finishfile = microtime (true );
490492 $ this ->mLines [$ this ->mFile ] = $ this ->render ($ struct );
493+ $ finishmerge = microtime (true );
491494 $ this ->tagdata [$ this ->mFile ][$ md5 ] = $ this ->mLines [$ this ->mFile ];
492495 if ($ this ->mOptions ['debug ' ]) {
493496 echo "Parse: " .($ finishfile - $ startfile ).", Merge: " .($ finishmerge -$ finishfile )."; ( " .$ this ->filecount .") " .$ this ->mFile .PHP_EOL ;
494497 } else if ($ this ->mOptions ['V ' ]) {
495- echo "U " ;
498+ echo ". " ;
496499 }
497500 }
498501
Original file line number Diff line number Diff line change 111111 $ options ['V ' ] = false ;
112112}
113113
114- if (!isset ($ options ['debug ' ])) {
114+ if (isset ($ options ['debug ' ])) {
115+ $ options ['debug ' ] = true ;
116+ } else {
115117 error_reporting (0 );
116118}
117119
You can’t perform that action at this time.
0 commit comments