cdump: handle array sizes and comments better.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 14 Nov 2014 00:20:01 +0000 (10:50 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 14 Nov 2014 00:20:01 +0000 (10:50 +1030)
commit0453665034049613b3194a6f0af6deae3e1df4e1
tree52443d4bfe48006e98cd129a43a255be595f90d2
parenta77ce0e968469c31c3c41efde85d77e6d5eac011
cdump: handle array sizes and comments better.

We can now parse array sizes properly: comments and extra [] pairs
will no longer confuse us.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/cdump/cdump.c
ccan/cdump/test/run-arraysize.c [new file with mode: 0644]