MCPcopy Create free account
hub / github.com/GJDuck/e9patch / unexpectedToken

Method unexpectedToken

src/e9tool/e9parser.cpp:724–730  ·  view source on GitHub ↗

* Unexpected token error. */

Source from the content-addressed store, hash-verified

722 * Unexpected token error.
723 */
724NO_RETURN void Parser::unexpectedToken() const
725{
726 std::string str;
727 getPositionStr(str);
728 error("failed to parse %s at position \"%s\"; unexpected token \"%s\"",
729 mode, str.c_str(), s);
730}
731
732/*
733 * Get the name of a token.

Callers 7

parseSymbolFunction · 0.80
parseMemOpFunction · 0.80
parseMatchArgFunction · 0.80
parseFunctionNameFunction · 0.80
parsePatchArgFunction · 0.80
parsePatchFunction · 0.80
parseExcludeBoundFunction · 0.80

Calls 1

errorFunction · 0.85

Tested by

no test coverage detected