« Bugzilla Issues Index
#1583 — Incorrect grammar for BinaryIntegerLiteral and OctalIntegerLiteral
- bug_id:
1583
- creation_ts:
2013-07-16 06:49:00 -0700
- short_desc:
Incorrect grammar for BinaryIntegerLiteral and OctalIntegerLiteral
- delta_ts:
2015-07-10 08:34:21 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 15: May 14, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Erik Arvidsson
- assigned_to:
Allen Wirfs-Brock
- cc:
erik.arvidsson
- commentid:
4533
- comment_count:
0
- who:
Erik Arvidsson
- bug_when:
2013-07-16 06:49:39 -0700
It currently says
BinaryIntegerLiteral ::
0b BinaryDigit
0B BinaryDigit
BinaryIntegerLiteral BinaryDigit
BinaryDigit :: one of
0 1
Which means 0b0b0b0b0b0b1 is valid but 0b01 is not. It should be
BinaryIntegerLiteral ::
0b BinaryDigits
0B BinaryDigits
BinaryDigits ::
BinaryDigit
BinaryDigits BinaryDigit
BinaryDigit :: one of
0 1
Same goes for OctalIntegerLiteral
- commentid:
4536
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-07-16 12:40:30 -0700
fixed in rev17 editor's draft
- commentid:
5095
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-08-23 08:22:42 -0700
fixed in rev17, August 23, 2013 draft