|
|
@ -560,6 +560,7 @@ public class PathCompiler { |
|
|
|
int endPosition = 0; |
|
|
|
int endPosition = 0; |
|
|
|
boolean inProperty = false; |
|
|
|
boolean inProperty = false; |
|
|
|
boolean inEscape = false; |
|
|
|
boolean inEscape = false; |
|
|
|
|
|
|
|
boolean lastSignificantWasComma = false; |
|
|
|
|
|
|
|
|
|
|
|
while (path.inBounds(readPosition)) { |
|
|
|
while (path.inBounds(readPosition)) { |
|
|
|
char c = path.charAt(readPosition); |
|
|
|
char c = path.charAt(readPosition); |
|
|
@ -579,7 +580,13 @@ public class PathCompiler { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
startPosition = readPosition + 1; |
|
|
|
startPosition = readPosition + 1; |
|
|
|
inProperty = true; |
|
|
|
inProperty = true; |
|
|
|
|
|
|
|
lastSignificantWasComma = false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} else if (c == COMMA){ |
|
|
|
|
|
|
|
if (lastSignificantWasComma){ |
|
|
|
|
|
|
|
fail("Found empty property at index "+readPosition); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
lastSignificantWasComma = true; |
|
|
|
} |
|
|
|
} |
|
|
|
readPosition++; |
|
|
|
readPosition++; |
|
|
|
} |
|
|
|
} |
|
|
|