MCPcopy Create free account
hub / github.com/Singular/Singular / skip_until

Method skip_until

ppcc/src/parser.cc:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 return source->filename->ends_with(".c");
74 }
75 void skip_until(Word64 syms) {
76 syms |= BIT(SymEOF);
77 while (!TEST(syms, input->at(pos).sym)) {
78 pos++;
79 }
80 }
81 void skip_while(Word64 syms) {
82 while (TEST(syms, input->at(pos).sym)) {
83 pos++;

Callers 2

TransformVarDeclFunction · 0.80
TransformFunction · 0.80

Calls 1

atMethod · 0.45

Tested by

no test coverage detected