1
0
Fork 0
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:
Mikhail Sennikovsky 2008-07-01 16:33:11 +00:00
parent 3b92e498e8
commit 4c6457c39d

View file

@ -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 ) );
}