ccanlint: more heuristics for compiling examples.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 6 Oct 2010 14:25:49 +0000 (00:55 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 6 Oct 2010 14:25:49 +0000 (00:55 +1030)
commitaba65f26a9cbc9b9cb3eb493731f83bca487d67f
tree66409138716d0cb8000df45f9506d61628597961
parent15a9d29cedeb5a9b838162b40ad18fecca681dca
ccanlint: more heuristics for compiling examples.

Try to glue consecutive examples together if all else fails (works well for
ccan/alloc/alloc.h).  This means we should put examples into list in order.
tools/ccanlint/tests/examples_compile.c
tools/ccanlint/tests/has_examples.c