зеркало из https://github.com/mozilla/gecko-dev.git
Additional comments explaining what might happen in cases of key clashes.
This commit is contained in:
Родитель
c66533cb57
Коммит
007df6e6bf
|
@ -225,7 +225,9 @@ sub getArgumentsTree {
|
|||
$key = '';
|
||||
}
|
||||
$pointer->{$key} = $arguments->{$argument}->[0];
|
||||
# if a key has multiple values, getArgumentsTree drops later values on the floor
|
||||
# if a key has multiple values, getArgumentsTree drops later values on the floor.
|
||||
# if foo.bar and foo both have values, then the keys will be $data->{'foo'}->{'bar'}
|
||||
# and $data->{'foo'}->{''}.
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче