Home
last modified time | relevance | path

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

/external/python/cpython3/Include/
Derrcode.h17 #define E_EOF 11 /* End Of File */ macro
/external/python/cpython2/Include/
Derrcode.h17 #define E_EOF 11 /* End Of File */ macro
/external/python/cpython3/Parser/
Dparsetok.c338 if (tok->done == E_EOF && !ISWHITESPACE(type)) { in parsetok()
416 if (tok->done == E_EOF) in parsetok()
417 err_ret->error = E_EOF; in parsetok()
Dtokenizer.c840 tok->done = E_EOF; in tok_nextc()
887 tok->done = E_EOF; in tok_nextc()
942 tok->done = E_EOF; in tok_nextc()
954 tok->done = E_EOF; in tok_nextc()
1378 return tok->done == E_EOF ? ENDMARKER : ERRORTOKEN; in tok_get()
1760 tok->done = E_EOF; in tok_get()
/external/python/cpython2/Parser/
Dparsetok.c223 if (tok->lineno <= 1 && tok->done == E_EOF) in parsetok()
224 err_ret->error = E_EOF; in parsetok()
Dtokenizer.c872 tok->done = E_EOF; in tok_nextc()
891 tok->done = E_EOF; in tok_nextc()
948 tok->done = E_EOF; in tok_nextc()
960 tok->done = E_EOF; in tok_nextc()
1364 return tok->done == E_EOF ? ENDMARKER : ERRORTOKEN; in tok_get()
/external/python/cpython3/Doc/faq/
Dextending.rst280 equal to ``E_EOF``, which means the input is incomplete. Here's a sample code
301 if (e.error == E_EOF)
390 } /* syntax error or E_EOF? */
396 !strcmp (msg, "unexpected EOF while parsing")) /* E_EOF */
/external/python/cpython2/Python/
Dpythonrun.c788 if (ret == E_EOF) in PyRun_InteractiveLoopFlags()
853 if (errcode == E_EOF) { in PyRun_InteractiveOneFlags()
855 return E_EOF; in PyRun_InteractiveOneFlags()
1623 case E_EOF: in err_input()
/external/python/cpython2/Doc/faq/
Dextending.rst289 equal to ``E_EOF``, which means the input is incomplete). Here's a sample code
309 if (e.error == E_EOF)
397 } /* syntax error or E_EOF? */
403 !strcmp (msg, "unexpected EOF while parsing")) /* E_EOF */
/external/python/cpython3/Python/
Dpythonrun.c146 } while (ret != E_EOF); in PyRun_InteractiveLoopFlags()
257 if (errcode == E_EOF) { in PyRun_InteractiveOneObjectEx()
259 return E_EOF; in PyRun_InteractiveOneObjectEx()
1601 case E_EOF: in err_input()
/external/python/cpython3/Parser/pegen/
Dpegen.c326 case E_EOF: in tokenizer_error()
1131 else if (p->tok->done == E_EOF) { in _PyPegen_run_parser()
1262 *(p->errcode) = E_EOF; in _PyPegen_interactive_exit()