mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Patch from Zhang, Yi Y, with small modification, for [Bug 229934] ManagedCommandLineGenerator.generateCommandLineInfo() skips text after last symbolic variable
This commit is contained in:
parent
3b92e498e8
commit
4c6457c39d
1 changed files with 4 additions and 0 deletions
|
@ -131,6 +131,10 @@ public class ManagedCommandLineGenerator implements
|
|||
start = ++stop;
|
||||
// }
|
||||
}
|
||||
if (stop<commandLinePattern.length()){
|
||||
sb.append(commandLinePattern.substring(stop));
|
||||
}
|
||||
|
||||
return new ManagedCommandLineInfo( sb.toString().trim(), commandLinePattern, commandName, stringArrayToString( flags ),
|
||||
outputFlag, outputPrefix, outputName, stringArrayToString( inputResources ) );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue