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

Method find_back_until

ppcc/src/parser.cc:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85 }
86 noinline Int find_back_until(Word64 syms) {
87 Int p = pos;
88 while (p > marker) {
89 p--;
90 if (TEST(syms, input->at(p).sym))
91 return p;
92 }
93 return p;
94 }
95 noinline void safe_skip_until(Word64 syms) {
96 // handle parentheses and brackets properly.
97 Int par_level = 0;

Callers 1

TransformVarDeclFunction · 0.80

Calls 1

atMethod · 0.45

Tested by

no test coverage detected