1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00

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 d9101e9806
commit add4211600

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)
{ {