projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a286d47
)
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:11:39 +0000
(14:11 +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 e35636883a1e9c6a9e3721445f862cb283248053..43811ea1270a348eb4193e38a06b86a1d181c089 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)
{