astyle formatting

This commit is contained in:
Daniel Marjamäki 2013-11-02 22:58:47 +01:00
parent 769b4617c3
commit 11abd23fa7
1 changed files with 2 additions and 2 deletions

View File

@ -795,14 +795,14 @@ private:
Preprocessor preprocessor(&settings, this); Preprocessor preprocessor(&settings, this);
preprocessor.preprocess(istr, actual, "file.c"); // <- don't crash preprocessor.preprocess(istr, actual, "file.c"); // <- don't crash
} }
void test10() { // Ticket #5139 void test10() { // Ticket #5139
const char filedata[] = "#define foo a.foo\n" const char filedata[] = "#define foo a.foo\n"
"#define bar foo\n" "#define bar foo\n"
"#define baz bar+0\n" "#define baz bar+0\n"
"#if 0\n" "#if 0\n"
"#endif"; "#endif";
// Preprocess => actual result.. // Preprocess => actual result..
std::istringstream istr(filedata); std::istringstream istr(filedata);
std::map<std::string, std::string> actual; std::map<std::string, std::string> actual;