macro: Add extra indentation to placeholder substitution code
The next commit will make this block conditional so pre-indent it to clarify the simplicity of the change.
This commit is contained in:
parent
8a6e82724c
commit
999abb993e
@ -160,7 +160,7 @@ bool cmMacroHelperCommand::InvokeInitialPass
|
|||||||
{
|
{
|
||||||
std::vector<std::string>::const_iterator eit;
|
std::vector<std::string>::const_iterator eit;
|
||||||
std::vector<std::string>::size_type cnt = 0;
|
std::vector<std::string>::size_type cnt = 0;
|
||||||
for ( eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit )
|
for(eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit)
|
||||||
{
|
{
|
||||||
if ( cnt >= this->Args.size()-1 )
|
if ( cnt >= this->Args.size()-1 )
|
||||||
{
|
{
|
||||||
@ -187,7 +187,7 @@ bool cmMacroHelperCommand::InvokeInitialPass
|
|||||||
if (!argvDefInitialized)
|
if (!argvDefInitialized)
|
||||||
{
|
{
|
||||||
std::vector<std::string>::const_iterator eit;
|
std::vector<std::string>::const_iterator eit;
|
||||||
for ( eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit )
|
for(eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit)
|
||||||
{
|
{
|
||||||
if ( argvDef.size() > 0 )
|
if ( argvDef.size() > 0 )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user