Type | Bug | Status | tested | Date | 19-Jan-2010 08:01 |
---|---|---|---|---|---|
Version | alpha 96 | Category | Syntax | Submitted by | meijeru |
Platform | All | Severity | minor | Priority | normal |
Summary | Binary base indicator may be preceded by zeroes and/or plus sign. |
---|---|
Description | The number 2 16 or 64 in front of a binary literal may be preceded by any number of zeroes and a sign. |
Example code |
>> type? 000016#{FF} == binary! >> type? +2#{} == binary! |
Assigned to | n/a | Fixed in | alpha 97 | Last Update | 8-Feb-2010 03:21 |
---|
Comments | |
---|---|
(0001905)
meijeru 19-Jan-2010 08:04 |
I suspect the "indicator" is originally scanned as a true number -- it is only AFTER the detection of the # and { that the "value" is checked.
I furthermore suspect a link with #1429, where the number is computed after the # is detected, but at the encounter of the [ a wrong exit is taken and the number is "forgotten" giving rise to the observed bug. This checks with the fact that both in front of a binary and in front of a serialized value one can have numbers starting with a + or - sign. |
Date | User | Field | Action | Change |
---|---|---|---|---|
8-Feb-2010 03:21 | BrianH | Status | Modified | built => tested |
8-Feb-2010 03:21 | BrianH | Type | Modified | Note => Bug |
4-Feb-2010 22:38 | carl | Fixedin | Modified | => alpha 97 |
4-Feb-2010 22:38 | carl | Status | Modified | reviewed => built |
24-Jan-2010 04:07 | BrianH | Category | Modified | Documentation => Syntax |
24-Jan-2010 04:07 | BrianH | Status | Modified | submitted => reviewed |
19-Jan-2010 08:07 | meijeru | Summary | Modified | Binary base indicator may be preceded by zeroes => Binary base indicator may be preceded by zeroes and/or plus sign. |
19-Jan-2010 08:07 | meijeru | Description | Modified | - |
19-Jan-2010 08:07 | meijeru | Code | Modified | - |
19-Jan-2010 08:06 | meijeru | Comment : 0001905 | Modified | - |
19-Jan-2010 08:04 | meijeru | Comment : 0001905 | Modified | - |
19-Jan-2010 08:04 | meijeru | Comment : 0001905 | Added | - |
19-Jan-2010 08:01 | meijeru | Ticket | Added | - |