diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | tools/enum.pl | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2009-05-19 Siavash Safi <siavash@siavashs.org> + + * tools/enum.pl: Fix --module option to work + 2009-05-18 Jonathon Jongsma <jonathon@quotidian.org> Wrap new Gio::FileIOStream class diff --git a/tools/enum.pl b/tools/enum.pl index 97804c5f..f1b6cbee 100644 --- a/tools/enum.pl +++ b/tools/enum.pl @@ -103,7 +103,7 @@ sub process my $entity = "enum"; $c_name =~ /^([A-Z][a-z]*)/; - $module = $1; + $module = $1 if ($module eq "none"); $def =~ s/$module//; @c_name=(); |