Commit cae4fd99 authored by Kostya's avatar Kostya
Browse files

final2

parent 32540954
......@@ -6,13 +6,13 @@
#include <stdexcept>
#include <string>
#define _def_ "\033[0m" // default color
#define _blue_b1 "\033[34;1m" // blue color with bold text
#define _green_b1 "\033[1;32m" // green color with bold text
#define _b1_ "\033[1m" // default color with bold text
#define _grey_ "\033[2m" // semi bright color
#define _yellow_b1 "\033[1;33m" // yellow color with bold text
#define _red_b1 "\033[1;31m" // red color with bold text
#define _def_ "\033[0m" // default color
#define _blue_b1 "\033[34;1m" // blue color with bold text
#define _green_b1 "\033[1;32m" // green color with bold text
#define _b1_ "\033[1m" // default color with bold text
#define _grey_ "\033[2m" // semi bright color
#define _yellow_b1 "\033[1;33m" // yellow color with bold text
#define _red_b1 "\033[1;31m" // red color with bold text
#define SHOW_EXEC_TIME if(false)
......@@ -46,7 +46,7 @@
#define ERROR(msg) {\
assert(!_prefix.empty());\
fprintf(stderr, "%s _red_b1 ERROR: _b1_ %s" _def_ " " \
fprintf(stderr, "%s" _red_b1 "ERROR:" _b1_ "%s" _def_ " " \
"" _grey_ "%s:%d" _def_ "\n", _prefix.c_str(), \
std::string(msg).c_str(), \
__FILE__, __LINE__);\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment