com gtk/php-gtk: Guess this was the first time the generator had to cope with having nothing to generate...: generator/generator.php
[email protected] (David Soria Parra) Fri, 21 Oct 2005 13:30:23 +0000
| Newsgroups | php.gtk.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 9693ea8cbf16efd71dcd675cbf1316c665965786 Author: Steph Fox <[email protected]> Fri, 21 Oct 2005 13:30:23 +0000 Parents: 8c71e69a78726f53834bda5d86ea02c83074b296 Branches: master Link: http://git.php.net/?p=gtk/php-gtk.git;a=commitdiff;h=9693ea8cbf16efd71dcd675cbf1316c665965786 Log: Guess this was the first time the generator had to cope with having nothing to generate... Changed paths: M generator/generator.php Diff: 9693ea8cbf16efd71dcd675cbf1316c665965786 diff --git a/generator/generator.php b/generator/generator.php index 1192ff3..101003b 100644 --- a/generator/generator.php +++ b/generator/generator.php @@ -919,12 +919,14 @@ class Generator { $this->log("\n\n"); $this->log($this->make_header("$this->prefix Generated Items")); - $this->log("%%%% - overriden\n\n"); + $this->log("%%%% - overridden\n\n"); $this->log("%s", $this->diversions["gen"]); $this->log("\n\n"); $this->log($this->make_header("$this->prefix Not Generated Items")); - $this->log("%s", $this->diversions["notgen"]); + if (!empty($this->diversions["notgen"])) { + $this->log("%s", $this->diversions["notgen"]); + } $this->write_coverage_info(); $this->write_unused_info();