Added message for successful compilation
This commit is contained in:
9
main.cpp
9
main.cpp
@@ -18,6 +18,10 @@
|
|||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "Tester.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[]) {
|
int main(int argc, char* argv[]) {
|
||||||
std::vector<std::string> includePaths;
|
std::vector<std::string> includePaths;
|
||||||
includePaths.push_back(""); //Local
|
includePaths.push_back(""); //Local
|
||||||
@@ -184,6 +188,11 @@ int main(int argc, char* argv[]) {
|
|||||||
//For right now, just C
|
//For right now, just C
|
||||||
|
|
||||||
CGenerator().generateCompSet(ASTs, outputName);
|
CGenerator().generateCompSet(ASTs, outputName);
|
||||||
|
|
||||||
|
std::cout << CLEAR_SCREEN;
|
||||||
|
|
||||||
|
std::cout << BOLD_GREEN << "SUCCESSFUL COMPILATION" << RESET_TXT << std::endl;
|
||||||
|
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ obj unpack_dummy<T,U> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
obj pair<T,U> (Object, Serializable) {
|
obj pair<T,U> (Object, Serializable) {
|
||||||
var first: T
|
var first: T
|
||||||
var second: U
|
var second: U
|
||||||
|
|||||||
Reference in New Issue
Block a user