Home
last modified time | relevance | path

Searched refs:lastmark (Results 1 - 4 of 4) sorted by relevance

/third_party/python/Modules/_sre/
H A Dsre_lib.h342 * reason to restore lastmark;
347 * failure, and it doesn't matter where lastmark is pointing to.
351 * lastmark by itself if necessary);
355 * OP could potentially depend on lastmark;
360 * and could potentially depend on lastmark.
366 ctx->lastmark = state->lastmark; \
371 state->lastmark = ctx->lastmark; \
451 #define MARK_PUSH(lastmark) \
518 int lastmark; global() member
[all...]
H A Dsre.h77 int lastmark; member
H A Dsre.c362 state->lastmark = -1; in state_reset()
427 state->lastmark = -1; in state_init()
525 if (string == Py_None || index >= state->lastmark || !state->mark[index] || !state->mark[index+1]) { in state_getslice()
2487 if (j+1 <= state->lastmark && state->mark[j] && state->mark[j+1]) { in pattern_new_match()
/third_party/python/Tools/peg_generator/pegen/
H A Dparser.py107 lastresult, lastmark = None, mark
127 print(f"{fill}Fail with {lastresult!s:.200} to {lastmark}")
129 if endmark <= lastmark:
131 print(f"{fill}Bailing with {lastresult!s:.200} to {lastmark}")
133 self._cache[key] = lastresult, lastmark = result, endmark
135 self._reset(lastmark)

Completed in 6 milliseconds