Searched refs:E_EOF (Results 1 – 6 of 6) sorted by relevance
73 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()
838 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()
351 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()
17 #define E_EOF 11 /* End Of File */ macro
172 } while (ret != E_EOF); in _PyRun_InteractiveLoopObject()265 if (errcode == E_EOF) { in PyRun_InteractiveOneObjectEx()267 return E_EOF; in PyRun_InteractiveOneObjectEx()
359 } /* syntax error or E_EOF? */365 !strcmp (msg, "unexpected EOF while parsing")) /* E_EOF */