Add lcov exclusion markers to jsonpath scanner

This was done for all scanners in
4211673622 but not added to the new one.
pull/55/head
Peter Eisentraut 6 years ago
parent d9101e9806
commit add4211600
  1. 4
      src/backend/utils/adt/jsonpath_scan.l

@ -43,6 +43,8 @@ fprintf_to_ereport(const char *fmt, const char *msg)
ereport(ERROR, (errmsg_internal("%s", msg)));
}
/* LCOV_EXCL_START */
%}
%option 8bit
@ -271,6 +273,8 @@ hex_fail \\x{hex_dig}{0,1}
%%
/* LCOV_EXCL_STOP */
void
jsonpath_yyerror(JsonPathParseResult **result, const char *message)
{

Loading…
Cancel
Save