]> git.ozlabs.org Git - ccan/commit
ccanlint: handle nested modules when mentioned in examples.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 3 Dec 2012 08:59:23 +0000 (19:29 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 3 Dec 2012 08:59:23 +0000 (19:29 +1030)
commit932d65dd6537250e617516749f03a00fea3b34f6
treeb03086bb778f05ac9e6a9f566cf49b5f89e316b4
parent6a4d45337811b56d947e52f031b9ca0c955fcb6c
ccanlint: handle nested modules when mentioned in examples.

If we see an ccan include line in an example, we add that to the
dependencies to try to build the example, but we didn't handle nested
modules.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/ccanlint/tests/depends_accurate.c
tools/ccanlint/tests/examples_compile.c