understand quoted ids in wml

This commit is contained in:
Yann Dirson 2004-08-09 20:55:02 +00:00
parent 857fdf0158
commit 420406da77

View file

@ -72,7 +72,9 @@ foreach my $wmlfile (@wmlfiles) {
my ($str, $key, $value,$strtype);
while (<WML>) {
# print STDERR $_;
if (m/id\s*=\s*(.*)/) {
if (m/id\s*=\s*"(.*)"/) {
$id = $1;
} elsif (m/id\s*=\s*(.*)/) {
$id = $1;
# print STDERR "--> $id\n";
# } elsif (m,\[/.*\],) {