MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / test2

Function test2

3rd/lua-5.4.3/src/liolib.c:454–458  ·  view source on GitHub ↗

** Accept current char if it is in 'set' (of size 2) */

Source from the content-addressed store, hash-verified

452** Accept current char if it is in 'set' (of size 2)
453*/
454static int test2 (RN *rn, const char *set) {
455 if (rn->c == set[0] || rn->c == set[1])
456 return nextc(rn);
457 else return 0;
458}
459
460
461/*

Callers 1

read_numberFunction · 0.85

Calls 1

nextcFunction · 0.85

Tested by

no test coverage detected