MCPcopy Create free account
hub / github.com/defold/defold / Expect

Function Expect

engine/dlib/src/dlib/configfile.cpp:294–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292 }
293
294 static void Expect(Context* context, char ch)
295 {
296 int c = SafeGetChar(context);
297 if (c != ch)
298 {
299 ParseError(context, RESULT_SYNTAX_ERROR);
300 }
301 }
302
303 static void EatSpace(Context* context)
304 {

Callers 2

ParseEntryFunction · 0.85
ParseSectionFunction · 0.85

Calls 2

SafeGetCharFunction · 0.85
ParseErrorFunction · 0.70

Tested by

no test coverage detected