« Bugzilla Issues Index
#281 — "Literal" should in syntactical grammar instead of lexical grammar
- bug_id:
281
- creation_ts:
2012-02-28 09:00:00 -0800
- short_desc:
"Literal" should in syntactical grammar instead of lexical grammar
- delta_ts:
2012-06-16 09:47:50 -0700
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 6: February 2012 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Shaofei Cheng
- assigned_to:
Allen Wirfs-Brock
- commentid:
700
- comment_count:
0
- who:
Shaofei Cheng
- bug_when:
2012-02-28 09:00:13 -0800
there is no way to put the "Literal" production in a lexer.
If a lexer produce token with type ”Literal“, syntactical parser will not be able to decide to use it as a "Literal" or a "StringLiteral".
The suggest is moving the following rule from Annex A.1 to Annex A.3
Literal ::
NullLiteral
BooleanLiteral
NumericLiteral
StringLiteral
RegularExpressionLitera
- commentid:
933
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-05-11 09:13:30 -0700
corrected in editor's working draft
- commentid:
1022
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2012-06-16 09:47:50 -0700
fixed in "Rev 8", June 12,2012 draft