Hi,

> 2.Accepts illegal integer constants
> 
>     int a = 0xabgfa;
>  
>     printf("%x", a); -> ab
> 
>    a = 0xwookie;
> 
>     printf("%d\n", a); -> 0

I think the following patch would fix this bug.

http://repo.or.cz/w/tinycc.git?a=commit;h=c6594f00243ed66d401b9512fad5dee80a67cd7a

This would check some other cases like 0.3fa or 30LA.

Thanks,


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to