From c7f4dd960d2530b246dd0b5d04f77d5b11c65551 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sun, 28 Feb 2016 21:02:08 -0500 Subject: complete world rewrite -- edgy --- src/common.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/common.cpp') diff --git a/src/common.cpp b/src/common.cpp index 01c8779..6dc2c46 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -95,6 +95,13 @@ const char *readFile(const char *path){ return buf; } +void +UserError( std::string reason ) +{ + std::cout << "User error: " << reason << "!" << std::endl; + abort(); +} + /*int strCreateFunc(const char *equ){ static unsigned int size; static char *filebuf; -- cgit v1.2.3