astyle formatting

This commit is contained in:
Daniel Marjamäki 2012-12-27 16:59:30 +01:00
parent ef28bde3e4
commit 0585588fc7
1 changed files with 14 additions and 14 deletions

View File

@ -806,8 +806,8 @@ void Preprocessor::preprocess(std::istream &srcCodeStream, std::string &processe
if (_settings && !_settings->userIncludes.empty()) {
for (std::list<std::string>::iterator it = _settings->userIncludes.begin();
it != _settings->userIncludes.end();
it++) {
it != _settings->userIncludes.end();
it++) {
std::string cur = *it;
// try to open file
@ -837,23 +837,23 @@ void Preprocessor::preprocess(std::istream &srcCodeStream, std::string &processe
//handleIncludes("#include \"" + cur + "\"\n", cur, includePaths, defs);
forcedIncludes =
forcedIncludes +
"#file \"" + cur + "\"\n" +
"#line 1\n" +
fileData + "\n" +
"#endfile\n"
;
forcedIncludes +
"#file \"" + cur + "\"\n" +
"#line 1\n" +
fileData + "\n" +
"#endfile\n"
;
}
}
if (!forcedIncludes.empty()) {
processedFile =
forcedIncludes +
"#file \"" + filename + "\"\n" +
"#line 1\n" +
processedFile +
"#endfile\n"
;
forcedIncludes +
"#file \"" + filename + "\"\n" +
"#line 1\n" +
processedFile +
"#endfile\n"
;
}
// Remove asm(...)