Commit b4f96d69 authored by Tom Lane's avatar Tom Lane

Minor jsonpath fixes.

Restore missed "make clean" rule, fix misspelling.

John Naylor

Discussion: https://postgr.es/m/CACPNZCt5B8jDCCGQiFoSuqmg-za_NCy4QDioBTLaNRih9+-bXg@mail.gmail.com
parent 252b707b
...@@ -36,11 +36,13 @@ OBJS = acl.o amutils.o arrayfuncs.o array_expanded.o array_selfuncs.o \ ...@@ -36,11 +36,13 @@ OBJS = acl.o amutils.o arrayfuncs.o array_expanded.o array_selfuncs.o \
jsonpath_scan.c: FLEXFLAGS = -CF -p -p jsonpath_scan.c: FLEXFLAGS = -CF -p -p
jsonpath_scan.c: FLEX_NO_BACKUP=yes jsonpath_scan.c: FLEX_NO_BACKUP=yes
# Force these dependencies to be known even without dependency info built: # jsonpath_scan is compiled as part of jsonpath_gram
jsonpath_gram.o: jsonpath_scan.c jsonpath_gram.o: jsonpath_scan.c
# jsonpath_gram.c and jsonpath_scan.c are in the distribution tarball, # jsonpath_gram.c and jsonpath_scan.c are in the distribution tarball,
# so they are not cleaned here. # so they are not cleaned here.
clean distclean maintainer-clean:
rm -f lex.backup
like.o: like.c like_match.c like.o: like.c like_match.c
......
...@@ -478,7 +478,7 @@ parsejsonpath(const char *str, int len) ...@@ -478,7 +478,7 @@ parsejsonpath(const char *str, int len)
jsonpath_scanner_init(str, len); jsonpath_scanner_init(str, len);
if (jsonpath_yyparse((void *) &parseresult) != 0) if (jsonpath_yyparse((void *) &parseresult) != 0)
jsonpath_yyerror(NULL, "bugus input"); jsonpath_yyerror(NULL, "bogus input"); /* shouldn't happen */
jsonpath_scanner_finish(); jsonpath_scanner_finish();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment