MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / tocharset

Function tocharset

other_src/lua/src/lpeg.cpp:1079–1090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1077*/
1078
1079static enum charsetanswer tocharset (Instruction *p, CharsetTag *c) {
1080 if (isfixcheck(p)) {
1081 fillcharset(p, c->cs);
1082 if ((p + sizei(p))->i.code == IEnd && op_step(p) == 1)
1083 c->tag = ISCHARSET;
1084 else
1085 c->tag = VALIDSTARTS;
1086 }
1087 else
1088 c->tag = NOINFO;
1089 return c->tag;
1090}
1091
1092
1093static int exclusiveset (Charset c1, Charset c2) {

Callers 6

diff_lFunction · 0.85
pattand_lFunction · 0.85
pattbehindFunction · 0.85
basicUnionFunction · 0.85
union_lFunction · 0.85
star_lFunction · 0.85

Calls 2

fillcharsetFunction · 0.85
sizeiFunction · 0.85

Tested by

no test coverage detected