Code cleanup

This commit is contained in:
Pierre Pronchery 2009-08-01 18:25:31 +00:00
parent 7519bff6ec
commit 95be2c81be

View File

@ -425,11 +425,8 @@ static int _cpp_callback_whitespace(Parser * parser, Token * token, int c,
return 0; return 0;
} }
token_set_string(token, " "); token_set_string(token, " ");
if(cpp->queue_code != CPP_CODE_NULL) if(cpp->queue_code != CPP_CODE_NULL && cpp->queue_string != NULL)
{ string_append(&cpp->queue_string, " ");
if(cpp->queue_string != NULL)
string_append(&cpp->queue_string, " ");
}
return 0; return 0;
} }