projects
/
ccan
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ccanlint: handle nested modules when mentioned in examples.
[ccan]
/
tools
/
ccanlint
/
tests
/
depends_accurate.c
diff --git
a/tools/ccanlint/tests/depends_accurate.c
b/tools/ccanlint/tests/depends_accurate.c
index 83a19e2cea57ad041f5c71584a9eb5beb23b008d..05ada48a40dc8b829c361beca5ba9d17350abc6c 100644
(file)
--- a/
tools/ccanlint/tests/depends_accurate.c
+++ b/
tools/ccanlint/tests/depends_accurate.c
@@
-48,7
+48,7
@@
static bool check_dep_includes(struct manifest *m,
char *mod;
if (!strreg(f, lines[i],
"^[ \t]*#[ \t]*include[ \t]*[<\"]"
- "(ccan/+.+)/+[^/]+.h", &mod))
+ "(ccan/+.+)/+[^/]+
\\
.h", &mod))
continue;
if (has_dep(m, deps, used, mod))