Searched refs:E_EOF (Results 1 – 11 of 11) sorted by relevance
17 #define E_EOF 11 /* End Of File */ macro
338 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()
840 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()
223 if (tok->lineno <= 1 && tok->done == E_EOF) in parsetok()224 err_ret->error = E_EOF; in parsetok()
872 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()
280 equal to ``E_EOF``, which means the input is incomplete. Here's a sample code301 if (e.error == E_EOF)390 } /* syntax error or E_EOF? */396 !strcmp (msg, "unexpected EOF while parsing")) /* E_EOF */
788 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()
289 equal to ``E_EOF``, which means the input is incomplete). Here's a sample code309 if (e.error == E_EOF)397 } /* syntax error or E_EOF? */403 !strcmp (msg, "unexpected EOF while parsing")) /* E_EOF */
146 } 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()
326 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()