#include "utils/jsonpath.h"
#include "jsonpath_gram.h"
Go to the source code of this file.
◆ YY_DECL
◆ YY_TYPEDEF_YY_SCANNER_T
#define YY_TYPEDEF_YY_SCANNER_T |
◆ JsonPathString
◆ yyscan_t
◆ jsonpath_yyerror()
Definition at line 362 of file jsonpath_scan.l.
365{
367
368
369
371 return;
372
373 if (*yytext == YY_END_OF_BUFFER_CHAR)
374 {
376 (
errcode(ERRCODE_SYNTAX_ERROR),
377
378 errmsg(
"%s at end of jsonpath input",
_(message))));
379 }
380 else
381 {
383 (
errcode(ERRCODE_SYNTAX_ERROR),
384
385 errmsg(
"%s at or near \"%s\" of jsonpath input",
386 _(message), yytext)));
387 }
388}
int errcode(int sqlerrcode)
int errmsg(const char *fmt,...)
#define errsave(context,...)
#define SOFT_ERROR_OCCURRED(escontext)
References _, errcode(), errmsg(), errsave, and SOFT_ERROR_OCCURRED.
Referenced by hexval(), and parsejsonpath().
◆ jsonpath_yyparse()
◆ YY_DECL