Handle [%]
This commit is contained in:
parent
3f5a1ecf1d
commit
bfc0160442
@ -1530,9 +1530,10 @@ void Path::makePath(const String& path, const InArgs& in) {
|
||||
while (current != end) {
|
||||
if (*current == '[') {
|
||||
++current;
|
||||
if (*current == '%')
|
||||
if (*current == '%') {
|
||||
addPathInArg(path, in, itInArg, PathArgument::kindIndex);
|
||||
else {
|
||||
++current;
|
||||
} else {
|
||||
ArrayIndex index = 0;
|
||||
for (; current != end && *current >= '0' && *current <= '9'; ++current)
|
||||
index = index * 10 + ArrayIndex(*current - '0');
|
||||
|
Loading…
Reference in New Issue
Block a user