quote "true" to fix warning about reserved word.
2006-10-24 Michael Natterer <mitch@gimp.org> * tools/gimp-mkenums (parse_trigraph): quote "true" to fix warning about reserved word.
This commit is contained in:
parent
35e9cee09f
commit
41b1d526b8
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2006-10-24 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* tools/gimp-mkenums (parse_trigraph): quote "true" to fix warning
|
||||
about reserved word.
|
||||
|
||||
2006-10-24 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/pygimp-vectors.c: Vector object wrapper API.
|
||||
|
|
|
|||
|
|
@ -27,10 +27,10 @@ sub parse_trigraph {
|
|||
my $opts = shift;
|
||||
my @opts;
|
||||
|
||||
for $opt (quotewords(",", true, $opts)) {
|
||||
for $opt (quotewords(",", "true", $opts)) {
|
||||
$opt =~ s/^\s*//;
|
||||
$opt =~ s/\s*$//;
|
||||
my ($key,$val) = $opt =~ /(\w+)(?:=(.+))?/;
|
||||
my ($key,$val) = $opt =~ /(\w+)(?:=(.+))?/;
|
||||
defined $val or $val = 1;
|
||||
push @opts, $key, $val;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue