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

Function MustStringCoerce

source/common/console/c_expr.cpp:407–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405//==========================================================================
406
407void MustStringCoerce (FProduction *&prod1, FProduction *&prod2)
408{
409 if (prod1->Type == PROD_Double)
410 {
411 prod1 = DoubleToString (prod1);
412 }
413 if (prod2->Type == PROD_Double)
414 {
415 prod2 = DoubleToString (prod2);
416 }
417}
418
419//==========================================================================
420//

Callers 1

ParseExpressionFunction · 0.85

Calls 1

DoubleToStringFunction · 0.85

Tested by

no test coverage detected