MCPcopy Create free account
hub / github.com/ZDoom/Raze / MustMatchString

Method MustMatchString

source/common/engine/sc_man.cpp:914–924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

912//==========================================================================
913
914int FScanner::MustMatchString (const char * const *strings, size_t stride)
915{
916 int i;
917
918 i = MatchString (strings, stride);
919 if (i == -1)
920 {
921 ScriptError ("Unknown keyword '%s'", String);
922 }
923 return i;
924}
925
926//==========================================================================
927//

Callers 4

defsparserFunction · 0.80
ParseColorizationMethod · 0.80
S_ReadReverbDefFunction · 0.80
ParsePatchMethod · 0.80

Calls 1

MatchStringFunction · 0.85

Tested by

no test coverage detected