8000 Add lcov exclusion markers to jsonpath scanner · postgres/postgres@add4211 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit add4211

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 d9101e9 commit add4211

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