Re: [PATCH] recognize binary constants

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

 



On Tue, Nov 15, 2011 at 11:35 AM, Dan Carpenter <error27@xxxxxxxxx> wrote:
> On 9/8/11, Dan Carpenter <error27@xxxxxxxxx> wrote:
>> Sparse doesn't parse binary constants properly so the following code
>> generates an error:
>>
>>       x = 0b11;
>>
>> test.c:5:17: error: constant 0b11 is not a valid number
>>
>> Reported-by: Kamal Mostafa <kamal@xxxxxxxxxxxxx>
>> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>
>
> I sent this patch before but the git tree was offline so everything
> was dead.

Thanks for the reminder. The patch looks fine.

I will apply it.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux