Home
last modified time | relevance | path

Searched refs:E_EOF (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Parser/
Dpegen_errors.c73 case E_EOF: in _Pypegen_tokenizer_error()
319 assert(p->tok->fp == NULL || p->tok->fp == stdin || p->tok->done == E_EOF); in _PyPegen_raise_error_known_location()
402 if (last_token->type == ERRORTOKEN && p->tok->done == E_EOF) { in _Pypegen_set_syntax_error()
Dtokenizer.c838 tok->done = E_EOF; in tok_underflow_string()
900 tok->done = E_EOF; in tok_underflow_interactive()
964 tok->done = E_EOF; in tok_underflow_file()
1561 return tok->done == E_EOF ? ENDMARKER : ERRORTOKEN; in tok_get()
1973 tok->done = E_EOF; in tok_get()
Dpegen.c351 case E_EOF: in tokenizer_error()
507 assert(p->tok->fp == NULL || p->tok->fp == stdin || p->tok->done == E_EOF); in _PyPegen_raise_error_known_location()
1368 else if (last_token->type == ERRORTOKEN && p->tok->done == E_EOF) { in _PyPegen_run_parser()
1500 *(p->errcode) = E_EOF; in _PyPegen_interactive_exit()
/third_party/python/Include/
Derrcode.h17 #define E_EOF 11 /* End Of File */ macro
/third_party/python/Python/
Dpythonrun.c172 } while (ret != E_EOF); in _PyRun_InteractiveLoopObject()
265 if (errcode == E_EOF) { in PyRun_InteractiveOneObjectEx()
267 return E_EOF; in PyRun_InteractiveOneObjectEx()
/third_party/python/Doc/faq/
Dextending.rst359 } /* syntax error or E_EOF? */
365 !strcmp (msg, "unexpected EOF while parsing")) /* E_EOF */