1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 12:03:16 +02:00

[302724] problems with environment variable substitution

This commit is contained in:
David McKnight 2010-04-29 21:33:05 +00:00
parent 66a454623a
commit 9cb64197c8

View file

@ -882,9 +882,11 @@ public class CommandMinerThread extends MinerThread
nextIndex++;
c = theValue.charAt(nextIndex);
if (nextIndex + 1 == theValue.length()){
nextIndex++;
}
if (nextIndex + 1 == theValue.length()){ // last character?
if (Character.isJavaIdentifierPart(c)){
nextIndex++;
}
}
}
String v = theValue.substring(index + 1, nextIndex);