Hi,

On Sun, 24 Apr 2016, Sergey Korshunoff wrote:

Hi!
https://github.com/seyko2/tinycc/commit/086ae74b696b7e2a73980bd852516b84251bd553

don't accept 0x123e-3 float format. This allow to compile
tccboot kernel with a macro expansion like
   __asm__( "pushl $""0xfe""-256\n\t" );

No, simply fix the TCC bug. 0xfe+1 (and similar) simply is no valid token. Look at parse_number for inspiration (hint: remember the base and accept 'e'/'E' only if base is 10).


Ciao,
Michael.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to