|
|
@ -576,6 +576,10 @@ public class PathCompiler { |
|
|
|
break; |
|
|
|
break; |
|
|
|
} else if (c == potentialStringDelimiter) { |
|
|
|
} else if (c == potentialStringDelimiter) { |
|
|
|
if (inProperty && !inEscape) { |
|
|
|
if (inProperty && !inEscape) { |
|
|
|
|
|
|
|
char nextSignificantChar = path.nextSignificantChar(readPosition); |
|
|
|
|
|
|
|
if (nextSignificantChar != CLOSE_SQUARE_BRACKET && nextSignificantChar != COMMA) { |
|
|
|
|
|
|
|
fail("Property must be separated by comma or Property must be terminated close square bracket at index "+readPosition); |
|
|
|
|
|
|
|
} |
|
|
|
endPosition = readPosition; |
|
|
|
endPosition = readPosition; |
|
|
|
String prop = path.subSequence(startPosition, endPosition).toString(); |
|
|
|
String prop = path.subSequence(startPosition, endPosition).toString(); |
|
|
|
properties.add(Utils.unescape(prop)); |
|
|
|
properties.add(Utils.unescape(prop)); |
|
|
|