Go to the source code of this file.
Enumerations | |
enum | MsgType { MT_MSG, MT_WARN, MT_ERR, MT_ICE } |
Functions | |
MsgType | msg (const MsgType msgType, const char *const msgDetails, CompileUnit *cu=0) |
Variables | |
const char * | UNKNOWN_ERR = "Unknown Expression." |
const char *const | random_generic_errors [] |
enum MsgType |
MsgType msg | ( | const MsgType | msgType, | |
const char *const | msgDetails, | |||
CompileUnit * | cu = 0 | |||
) |
Definition at line 375 of file Compile.cpp.
References con, CompileUnit::CSTATE_FAIL, CompileUnit::CSTATE_WARNED, CompileUnit::debugPrint(), MT_ERR, MT_ICE, MT_MSG, MT_WARN, pout, Console::Printf_err(), and CompileUnit::setState().
Referenced by LowLevelMidiDriver::extractTimbreLibrary(), CompileUnit::parse(), CompileUnit::parse_openblock(), Console::vPrintf(), and Console::vPrintf_err().
const char* const random_generic_errors[] |
Initial value:
{ "Ugh! That's got to be the sickest thing I've ever seen!\n ...next to that poncy git there.\n\t--Giants: Citizen Kabuto", "Hark! Is that the sweet song of lamentation I hear?\n\t-- The Guardian, Ultima 8", "I do so enjoy the cries of torment.\n\t-- The Guardian, Ultima 8", "Ouch! -That- must have hurt, Avatar!\n\t-- The Guardian, Ultima 8", "" }
Definition at line 50 of file Compile.cpp.
const char* UNKNOWN_ERR = "Unknown Expression." |
Definition at line 48 of file Compile.cpp.