ccanlint: roughly handle multiple conditions on #if line.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 01:13:00 +0000 (11:43 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 01:13:00 +0000 (11:43 +1030)
commit061e359bfc50f006a08410d43527342025d498ad
tree2feb20140cc19c4b06766217834ef0053022c0ab
parent678cd10db6d6b81d97f3b98ea0a54657141632ad
ccanlint: roughly handle multiple conditions on #if line.

Just grab the tokens for the simple case: this allows the ccanlint
reduce_features test to work on eg. ccan/cast.
tools/ccanlint/file_analysis.c