when comment block before #else, tcc is not cognition #else.

example source code :
#include <stdio.h>
#define notfound

int main()
{
    #ifdef found
    puts("hello found");
    /*comment*/  #else
    puts("hello");
    #endif
}

exception code : (gcc/cl)
hello

result by tcc
<nothing printed>

ifdef and endif is working fine with comment block, but only else confused.
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to