Powered by Linux
Re: [PATCH] recognize binary constants — Semantic Matching Tool

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 smatch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux