Leading 0s not supported in hexadecimal representations
Bugzilla Link | 434 |
Created on | Jun 12, 2008 23:34 |
Resolution | FIXED |
Resolved on | Jun 13, 2008 09:22 |
Version | 1.00beta |
OS | Linux |
Architecture | PC |
Extended Description
Code like this:
a = 0x01 ;
Produces errors like:
ERROR: Hexadecimal constant not representable as integer: 0x01
The easy fix is to rewrite the line as 0x1 but this is incompatible with C and means that arrays of hexadecimal constants cannot quickly be copied from C to SAC.
I used developer rev 15698 on obelix.