aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath_scan.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/adt/jsonpath_scan.l')
-rw-r--r--src/backend/utils/adt/jsonpath_scan.l4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/utils/adt/jsonpath_scan.l b/src/backend/utils/adt/jsonpath_scan.l
index e7aa1feb754..02cb54ee7f9 100644
--- a/src/backend/utils/adt/jsonpath_scan.l
+++ b/src/backend/utils/adt/jsonpath_scan.l
@@ -1,3 +1,4 @@
+%{
/*-------------------------------------------------------------------------
*
* jsonpath_scan.l
@@ -11,12 +12,10 @@
*-------------------------------------------------------------------------
*/
-%{
#include "postgres.h"
#include "mb/pg_wchar.h"
#include "nodes/pg_list.h"
-#include "utils/jsonpath_scanner.h"
static JsonPathString scanstring;
@@ -46,7 +45,6 @@ fprintf_to_ereport(const char *fmt, const char *msg)
ereport(ERROR, (errmsg_internal("%s", msg)));
}
-#define yyerror jsonpath_yyerror
%}
%option 8bit