There was an error while loading. Please reload this page.
1 parent fa4714d commit 049f228Copy full SHA for 049f228
1 file changed
Parser/lexer/lexer.h
@@ -17,6 +17,7 @@ _PyToken_TextView(const struct tok_state *tok, const struct token *token,
17
*length = 0;
18
return "";
19
}
20
+ assert(_PyTok_SpanIsValid(token->span));
21
assert(tok->buf != NULL);
22
assert(tok->inp >= tok->buf);
23
assert(token->span.start >= tok->buf_offset);
0 commit comments