From b5ad3e6f878089a74a05ce1c05d53a93a3045e32 Mon Sep 17 00:00:00 2001 From: ishmal Date: Fri, 25 Apr 2008 20:45:37 +0000 Subject: [PATCH] remove tabs --- buildtool.cpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/buildtool.cpp b/buildtool.cpp index f0237afaa..ead2e8da0 100644 --- a/buildtool.cpp +++ b/buildtool.cpp @@ -4208,7 +4208,7 @@ bool MakeBase::parseFileList(Element *elem, { error("tag <%s> not allowed in ", tagName.c_str()); return false; - } + } } String dir; @@ -6162,7 +6162,7 @@ public: TaskCC(MakeBase &par) : Task(par) { type = TASK_CC; - name = "cc"; + name = "cc"; ccCommand = "gcc"; cxxCommand = "g++"; source = "."; @@ -6185,9 +6185,9 @@ public: String fname = excludeInc[i]; if (fname == dirname) return true; - } + } return false; - } + } virtual bool execute() { @@ -6255,7 +6255,7 @@ public: /** * Compile each of the C files that need it */ - bool errorOccurred = false; + bool errorOccurred = false; std::vector cfiles; for (viter=deps.begin() ; viter!=deps.end() ; viter++) { @@ -6387,6 +6387,7 @@ public: fprintf(f, "\n"); fprintf(f, "#### STDOUT ###\n%s\n", outString.c_str()); fprintf(f, "#### STDERR ###\n%s\n\n", errString.c_str()); + fflush(f); } if (!ret) { @@ -6405,6 +6406,7 @@ public: return !errorOccurred; } + virtual bool parse(Element *elem) { String s; @@ -6928,10 +6930,10 @@ public: cmd.append(" -target "); cmd.append(target); cmd.append(" "); - } - String fname = "javalist.btool"; - FILE *f = fopen(fname.c_str(), "w"); - int count = 0; + } + String fname = "javalist.btool"; + FILE *f = fopen(fname.c_str(), "w"); + int count = 0; for (unsigned int i=0 ; i