Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 98cab3e

Browse files
committed
Add lcov exclusion markers to jsonpath scanner
This was done for all scanners in 4211673 but not added to the new one.
1 parent a286d47 commit 98cab3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/backend/utils/adt/jsonpath_scan.l

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ fprintf_to_ereport(const char *fmt, const char *msg)
4343
ereport(ERROR, (errmsg_internal("%s", msg)));
4444
}
4545

46+
/* LCOV_EXCL_START */
47+
4648
%}
4749

4850
%option 8bit
@@ -271,6 +273,8 @@ hex_fail \\x{hex_dig}{0,1}
271273

272274
%%
273275

276+
/* LCOV_EXCL_STOP */
277+
274278
void
275279
jsonpath_yyerror(JsonPathParseResult **result, const char *message)
276280
{

0 commit comments

Comments
 (0)