#include "Python.h"
#include "errcode.h"
#include "helpers.h"
#include "../lexer/state.h"
static int
tok_underflow_string(struct tok_state *tok) { … }
static int
buf_getc(struct tok_state *tok) { … }
static void
buf_ungetc(int c, struct tok_state *tok) { … }
static int
buf_setreadl(struct tok_state *tok, const char* enc) { … }
static char *
decode_str(const char *input, int single, struct tok_state *tok, int preserve_crlf)
{ … }
struct tok_state *
_PyTokenizer_FromString(const char *str, int exec_input, int preserve_crlf)
{ … }