Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Derrcode.h17 #define E_EOF 11 /* End Of File */ macro
/external/python/cpython3/Include/
Derrcode.h17 #define E_EOF 11 /* End Of File */ macro
/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/Parser/
Dparsetok.c318 if (tok->done == E_EOF) in parsetok()
319 err_ret->error = E_EOF; in parsetok()
Dtokenizer.c922 tok->done = E_EOF; in tok_nextc()
971 tok->done = E_EOF; in tok_nextc()
1024 tok->done = E_EOF; in tok_nextc()
1036 tok->done = E_EOF; in tok_nextc()
1472 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
300 if (e.error == E_EOF)
388 } /* syntax error or E_EOF? */
394 !strcmp (msg, "unexpected EOF while parsing")) /* E_EOF */
/external/python/cpython3/Python/
Dpythonrun.c144 } while (ret != E_EOF); in PyRun_InteractiveLoopFlags()
244 if (errcode == E_EOF) { in PyRun_InteractiveOneObjectEx()
246 return E_EOF; in PyRun_InteractiveOneObjectEx()
1376 case E_EOF: in err_input()
/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 */