Home
last modified time | relevance | path

Searched refs:E_EOF (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Include/
H A Derrcode.h13 the parser only returns E_EOF when it hits EOF immediately, and it
17 #define E_EOF 11 /* End Of File */ macro
/third_party/python/Parser/
H A Dpegen_errors.c73 case E_EOF: in _Pypegen_tokenizer_error()
336 we're actually parsing from a file, which has an E_EOF SyntaxError and in that case in _PyPegen_raise_error_known_location()
339 assert(p->tok->fp == NULL || p->tok->fp == stdin || p->tok->done == E_EOF); in _PyPegen_raise_error_known_location()
423 if (last_token->type == ERRORTOKEN && p->tok->done == E_EOF) { in _Pypegen_set_syntax_error()
H A Dtokenizer.c866 tok->done = E_EOF; in tok_underflow_string()
928 tok->done = E_EOF; in tok_underflow_interactive()
992 tok->done = E_EOF; in tok_underflow_file()
1403 tok->done = E_EOF; in tok_continuation_line()
1636 return tok->done == E_EOF ? ENDMARKER : ERRORTOKEN; in tok_get()
H A Dpegen.c15 *(p->errcode) = E_EOF; in _PyPegen_interactive_exit()
831 return err == E_EOF || err == E_EOFS || err == E_EOLS; in _is_end_of_source()
/third_party/python/Python/
H A Dpythonrun.c28 #include "errcode.h" // E_EOF
162 } while (ret != E_EOF); in _PyRun_InteractiveLoopObject()
249 if (errcode == E_EOF) { in PyRun_InteractiveOneObjectEx()
251 return E_EOF; in PyRun_InteractiveOneObjectEx()

Completed in 8 milliseconds