@@ -1799,7 +1799,7 @@ typedef struct JsonFuncExpr
1799
1799
JsonBehavior * on_error ; /* ON ERROR behavior */
1800
1800
JsonWrapper wrapper ; /* array wrapper behavior (JSON_QUERY only) */
1801
1801
JsonQuotes quotes ; /* omit or keep quotes? (JSON_QUERY only) */
1802
- int location ; /* token location, or -1 if unknown */
1802
+ ParseLoc location ; /* token location, or -1 if unknown */
1803
1803
} JsonFuncExpr ;
1804
1804
1805
1805
/*
@@ -1813,8 +1813,8 @@ typedef struct JsonTablePathSpec
1813
1813
1814
1814
Node * string ;
1815
1815
char * name ;
1816
- int name_location ;
1817
- int location ; /* location of 'string' */
1816
+ ParseLoc name_location ;
1817
+ ParseLoc location ; /* location of 'string' */
1818
1818
} JsonTablePathSpec ;
1819
1819
1820
1820
/*
@@ -1831,7 +1831,7 @@ typedef struct JsonTable
1831
1831
JsonBehavior * on_error ; /* ON ERROR behavior */
1832
1832
Alias * alias ; /* table alias in FROM clause */
1833
1833
bool lateral ; /* does it have LATERAL prefix? */
1834
- int location ; /* token location, or -1 if unknown */
1834
+ ParseLoc location ; /* token location, or -1 if unknown */
1835
1835
} JsonTable ;
1836
1836
1837
1837
/*
@@ -1864,7 +1864,7 @@ typedef struct JsonTableColumn
1864
1864
List * columns ; /* nested columns */
1865
1865
JsonBehavior * on_empty ; /* ON EMPTY behavior */
1866
1866
JsonBehavior * on_error ; /* ON ERROR behavior */
1867
- int location ; /* token location, or -1 if unknown */
1867
+ ParseLoc location ; /* token location, or -1 if unknown */
1868
1868
} JsonTableColumn ;
1869
1869
1870
1870
/*
0 commit comments