[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] [PATCH] pp should interpret #num as #line num

From: Thomas Preud'homme
Subject: Re: [Tinycc-devel] [PATCH] pp should interpret #num as #line num
Date: Sun, 11 Jan 2015 23:26:20 +0000
User-agent: KMail/4.14.1 (Linux/2.6.38-ac2-ac100; KDE/4.14.2; armv7l; ; )

Le mercredi 7 janvier 2015, 06:01:49 Sergey Korshunoff a écrit :
> Using a strtoul with TOK_PPNUM to convert string to number is a
> standard method in tcc. And strtoul() is much shorter and faster then
> parse_number(). parse_number deal with floats and long long integers
> and ... And there is no need to declare any function or move it.

I don't know the reason but I suppose if parse_number doesn't use strtoul 
there must be a reason. And it there isn't then parse_number and next() should 
be modified to use strtoul as well.

Best regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]