Skip to content

Commit b4f96d6

Browse files
committed
Minor jsonpath fixes.
Restore missed "make clean" rule, fix misspelling. John Naylor Discussion: https://postgr.es/m/CACPNZCt5B8jDCCGQiFoSuqmg-za_NCy4QDioBTLaNRih9+-bXg@mail.gmail.com
1 parent 252b707 commit b4f96d6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/backend/utils/adt/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ OBJS = acl.o amutils.o arrayfuncs.o array_expanded.o array_selfuncs.o \
3636
jsonpath_scan.c: FLEXFLAGS = -CF -p -p
3737
jsonpath_scan.c: FLEX_NO_BACKUP=yes
3838

39-
# Force these dependencies to be known even without dependency info built:
39+
# jsonpath_scan is compiled as part of jsonpath_gram
4040
jsonpath_gram.o: jsonpath_scan.c
4141

4242
# jsonpath_gram.c and jsonpath_scan.c are in the distribution tarball,
4343
# so they are not cleaned here.
44+
clean distclean maintainer-clean:
45+
rm -f lex.backup
4446

4547
like.o: like.c like_match.c
4648

src/backend/utils/adt/jsonpath_scan.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ parsejsonpath(const char *str, int len)
478478
jsonpath_scanner_init(str, len);
479479

480480
if (jsonpath_yyparse((void *) &parseresult) != 0)
481-
jsonpath_yyerror(NULL, "bugus input");
481+
jsonpath_yyerror(NULL, "bogus input"); /* shouldn't happen */
482482

483483
jsonpath_scanner_finish();
484484

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy