MCPcopy Create free account
hub / github.com/dfranx/ShaderDebugger / ParseError

Method ParseError

libs/wgtcc/cpp.cc:436–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434
435
436 void Preprocessor::ParseError(TokenSequence ls) {
437 ls.Next();
438 const auto& literal = Stringize(ls);
439 std::string msg;
440 Scanner(literal).ScanLiteral(msg);
441 Error(ls.Peek(), "%s", msg.c_str());
442 }
443
444
445 void Preprocessor::ParseVersion(TokenSequence ls) {

Callers

nothing calls this directly

Calls 5

ErrorFunction · 0.85
ScanLiteralMethod · 0.80
ScannerClass · 0.70
NextMethod · 0.45
PeekMethod · 0.45

Tested by

no test coverage detected