FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

added debug · sca255/codebuilder@8ac2eb9 · GitHub

Commit 8ac2eb9

Browse files
committed
added debug
1 parent 6098e13 commit 8ac2eb9

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

‎codebuilder/main.cpp‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ int main(int argc, char* argv[])
7878
optdata=optdata.append("import " + list[1] + "\n");
7979
}stream << file.error();
8080
stream << optfl.error();
81+
stream << file.errorString();
82+
stream << optfl.errorString();
8183
//stream << "//error below if found";
8284
stream.flush();
8385
}
@@ -168,7 +170,12 @@ int main(int argc, char* argv[])
168170
optdata = optdata.append("#include <" + list[1] + ">\n");
169171
else if (list[0]=="strnms")
170172
optdata = optdata.append("namespace " + list[1] + " {\n");
171-
173+
stream << file.error();
174+
stream << optfl.error();
175+
stream << file.errorString();
176+
stream << optfl.errorString();
177+
//stream << "//error below if found";
178+
stream.flush();
172179

173180
}
174181
}
@@ -314,6 +321,12 @@ int main(int argc, char* argv[])
314321
optdata = optdata.append("}\n");
315322
else if (list[0]=="pkg")
316323
optdata = optdata.append("package " + list[1] + ";\n");
324+
stream << file.error();
325+
stream << optfl.error();
326+
stream << file.errorString();
327+
stream << optfl.errorString();
328+
//stream << "//error below if found";
329+
stream.flush();
317330
}
318331
}
319332
optfl.write(optdata.toUtf8());

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL