Added message for successful compilation

This commit is contained in:
ChrisFadden
2015-08-28 17:54:38 -04:00
parent 88fe0e350b
commit 98ea825fe8
2 changed files with 9 additions and 1 deletions

View File

@@ -18,6 +18,10 @@
#include "util.h"
#include "Tester.h"
#define CLEAR_SCREEN "\033[2J\033[1;1H"
#define BOLD_GREEN "\033[1m\033[32m"
#define RESET_TXT "\033[0m"
int main(int argc, char* argv[]) {
std::vector<std::string> includePaths;
includePaths.push_back(""); //Local
@@ -184,6 +188,11 @@ int main(int argc, char* argv[]) {
//For right now, just C
CGenerator().generateCompSet(ASTs, outputName);
std::cout << CLEAR_SCREEN;
std::cout << BOLD_GREEN << "SUCCESSFUL COMPILATION" << RESET_TXT << std::endl;
return(0);
}

View File

@@ -35,7 +35,6 @@ obj unpack_dummy<T,U> {
}
}
obj pair<T,U> (Object, Serializable) {
var first: T
var second: U