projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9101e9
)
Add lcov exclusion markers to jsonpath scanner
author
Peter Eisentraut
Tue, 26 May 2020 12:09:36 +0000
(14:09 +0200)
committer
Peter Eisentraut
Tue, 26 May 2020 12:09:36 +0000
(14:09 +0200)
This was done for all scanners in
421167362242ce1fb46d6d720798787e7cd65aad
but not added to the new one.
src/backend/utils/adt/jsonpath_scan.l
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/jsonpath_scan.l
b/src/backend/utils/adt/jsonpath_scan.l
index be0a2cfa2f746a456a536561b213b03ecab75761..f723462a1f75a547f28b059ddf30634e926b8843 100644
(file)
--- a/
src/backend/utils/adt/jsonpath_scan.l
+++ b/
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)
{