MCPcopy Create free account
hub / github.com/JACoders/OpenJK / COM_MatchToken

Function COM_MatchToken

code/qcommon/q_shared.cpp:479–487  ·  view source on GitHub ↗

================== COM_MatchToken ================== */

Source from the content-addressed store, hash-verified

477==================
478*/
479void COM_MatchToken( const char **buf_p, const char *match ) {
480 const char *token;
481
482 token = COM_Parse( buf_p );
483 if ( strcmp( token, match ) )
484 {
485 Com_Error( ERR_DROP, "MatchToken: %s != %s", token, match );
486 }
487}
488
489
490/*

Callers 3

Parse1DMatrixFunction · 0.70
Parse2DMatrixFunction · 0.70
Parse3DMatrixFunction · 0.70

Calls 2

COM_ParseFunction · 0.70
Com_ErrorFunction · 0.70

Tested by

no test coverage detected