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

Function fxGetNextDigitsB

xs/sources/xsLexical.c:212–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212txString fxGetNextDigitsB(txParser* parser, txString p, txString q)
213{
214 int c = parser->character;
215 while (('0' <= c) && (c <= '1')) {
216 if (p < q) *p++ = (char)c;
217 fxGetNextCharacter(parser);
218 c = parser->character;
219 }
220 return p;
221}
222
223txString fxGetNextDigitsD(txParser* parser, txString p, txString q, int* base)
224{

Callers

nothing calls this directly

Calls 1

fxGetNextCharacterFunction · 0.85

Tested by

no test coverage detected