MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / MatchAndAppendToken

Function MatchAndAppendToken

neo/renderer/Image_program.cpp:354–360  ·  view source on GitHub ↗

=================== MatchAndAppendToken =================== */

Source from the content-addressed store, hash-verified

352===================
353*/
354static void MatchAndAppendToken( idLexer &src, const char *match ) {
355 if ( !src.ExpectTokenString( match ) ) {
356 return;
357 }
358 // a matched token won't need a leading space
359 idStr::Append( parseBuffer, MAX_IMAGE_NAME, match );
360}
361
362/*
363===================

Callers 1

R_ParseImageProgram_rFunction · 0.85

Calls 1

ExpectTokenStringMethod · 0.45

Tested by

no test coverage detected