$ coan --version
coan, version 6.0.1 for 64 bit Unix/Linux(built Sep 15 2014,18:49:36)
Some #if expressions are evaluated with wrong result -- see example below
Test case
$ cat bug1.c
#error you SHOULD NOT see this if C is defined!
$ coan source -DC bug1.c
coan: /data/tmp/36/bug1.c: line 2: warning 0x00409: An operative #error directive was output
#error you SHOULD NOT see this if C is defined!
Expected output
output shoud be empty if run with "-DC" argument
$ coan source -DA bug1
Tested on linux 64bit, windows7 64bit