| 348 | //========================================================================== |
| 349 | |
| 350 | static FStringProd *DoubleToString (FProduction *prod) |
| 351 | { |
| 352 | char buf[128]; |
| 353 | FStringProd *newprod; |
| 354 | |
| 355 | mysnprintf (buf, countof(buf), "%g", static_cast<FDoubleProd *>(prod)->Value); |
| 356 | newprod = NewStringProd (buf); |
| 357 | M_Free (prod); |
| 358 | return newprod; |
| 359 | } |
| 360 | |
| 361 | //========================================================================== |
| 362 | // |
no test coverage detected