92 cur_yylval = base_yylval;
93 cur_yylloc = base_yylloc;
104 base_yylval = cur_yylval;
105 base_yylloc = cur_yylloc;
133 cur_token = NULLS_LA;
151 if (next_token == UESCAPE)
160 cur_yylval = base_yylval;
161 cur_yylloc = base_yylloc;
167 if (next_token != SCONST)
174 escstr = base_yylval.str;
178 base_yylval = cur_yylval;
179 base_yylloc = cur_yylloc;
183 base_yylval.str =
psprintf(
"%s UESCAPE %s", base_yylval.str, escstr);
189 if (cur_token == UIDENT)
191 else if (cur_token == USCONST)
static bool have_lookahead
char * psprintf(const char *fmt,...)
static bool next_token(char **lineptr, char *buf, int bufsz, bool *initial_quote, bool *terminating_comma, int elevel, char **err_msg)
static char * lookahead_yytext
int base_yylex(YYSTYPE *lvalp, YYLTYPE *llocp, core_yyscan_t yyscanner)
int filtered_base_yylex(void)
static YYLTYPE lookahead_yylloc
void mmerror(int errorcode, enum errortype type, const char *error,...) pg_attribute_printf(3
static bool check_uescapechar(unsigned char escape)
static bool ecpg_isspace(char ch)
static int lookahead_token
static YYSTYPE lookahead_yylval