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:
parent
66a454623a
commit
9cb64197c8
1 changed files with 5 additions and 3 deletions
|
@ -882,10 +882,12 @@ public class CommandMinerThread extends MinerThread
|
|||
nextIndex++;
|
||||
c = theValue.charAt(nextIndex);
|
||||
|
||||
if (nextIndex + 1 == theValue.length()){
|
||||
if (nextIndex + 1 == theValue.length()){ // last character?
|
||||
if (Character.isJavaIdentifierPart(c)){
|
||||
nextIndex++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
String v = theValue.substring(index + 1, nextIndex);
|
||||
String replacementValue = findValue(v, theTable, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue