Add lcov exclusion markers to jsonpath scanner

This was done for all scanners in
4211673622 but not added to the new one.
This commit is contained in:
Peter Eisentraut 2020-05-26 14:09:36 +02:00
parent a286d470c9
commit 98cab3ebce

View File

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