mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-17 12:28:45 +00:00
bug fixes
This commit is contained in:
parent
bb8b32a7c8
commit
8647918f37
6 changed files with 87 additions and 102 deletions
|
|
@ -24,7 +24,7 @@ inline T Read() {
|
|||
|
||||
template<typename T>
|
||||
inline void Error(const T& value) { // only for strings ??
|
||||
std::cout << "\x1b[1;33mError:\x1b[0m ";
|
||||
std::cout << "\x1b[1;35mError:\x1b[0m ";
|
||||
std::cout << value;
|
||||
std::cout << '\n';
|
||||
exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue