MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxGetNextDigitsO

Function fxGetNextDigitsO

xs/sources/xsLexical.c:248–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248txString fxGetNextDigitsO(txParser* parser, txString p, txString q)
249{
250 int c = parser->character;
251 while (('0' <= c) && (c <= '7')) {
252 if (p < q) *p++ = (char)c;
253 fxGetNextCharacter(parser);
254 c = parser->character;
255 }
256 return p;
257}
258
259txString fxGetNextDigitsX(txParser* parser, txString p, txString q)
260{

Callers

nothing calls this directly

Calls 1

fxGetNextCharacterFunction · 0.85

Tested by

no test coverage detected