Change error output stream to stderr

This commit is contained in:
h@di 2018-08-03 17:25:32 +04:30
parent e7bde92fe7
commit f28e0b0129
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
CXX=g++-8
CXX=g++
default: tiv

View file

@ -362,7 +362,7 @@ void emitCodepoint(int codepoint) {
std::cout << (char) (0x80 | ((codepoint >> 6) & 0x3f));
std::cout << (char) (0x80 | (codepoint & 0x3f));
} else {
std::cout << "ERROR";
std::cerr << "ERROR";
}
}