com gtk/php-gtk: Guess this was the first time the generator had to cope with having nothing to generate...: generator/generator.php
| From: | David Soria Parra | Date: | Fri, 21 Oct 2005 13:30:23 +0000 |
| Subject: | com gtk/php-gtk: Guess this was the first time the generator had to cope with having nothing to generate...: generator/generator.php | ||
| Groups: | php.gtk.cvs | ||
| Request: | Send a blank email to php-gtk-cvs+get-4721@lists.php.net to get a copy of this message | ||
Commit: 9693ea8cbf16efd71dcd675cbf1316c665965786
Author: Steph Fox <sfox@php.net> 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();