MCPcopy Create free account
hub / github.com/OpenMW/openmw / error

Method error

components/compiler/errorhandler.cpp:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 // Generate an error message.
53
54 void ErrorHandler::error(const std::string& message, const TokenLoc& loc)
55 {
56 if (mDowngradeErrors)
57 {
58 warning(message, loc);
59 return;
60 }
61
62 ++mErrors;
63 report(message, loc, ErrorMessage);
64 }
65
66 // Generate an error message for an unexpected EOF.
67

Callers 6

scanTokenMethod · 0.45
scanNameMethod · 0.45
parseNameMethod · 0.45
parseKeywordMethod · 0.45
appendMethod · 0.45
reportSeriousErrorMethod · 0.45

Calls 1

reportFunction · 0.85

Tested by

no test coverage detected