| commit | 4d6db1798508eb45517f5a0a55d73eb44ffe19b9 | [log] [tgz] |
|---|---|---|
| author | Dan Carpenter <error27@gmail.com> | Thu Sep 08 10:47:30 2011 -0700 |
| committer | Christopher Li <sparse@chrisli.org> | Mon Nov 21 01:56:02 2011 -0800 |
| tree | c5ad53f91bf11012b070d1004d2c9f91547969c2 | |
| parent | 16a2e9108be73f64a263b281a3991b51ced67b8b [diff] |
recognize binary constants 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 Kamal: add call to tolower(), since "0B11" is also a valid syntax. Reported-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Christopher Li <sparse@chrisli.org>