« Bugzilla Issues Index
#172 — clarify ASI rules when 2nd line starts with RegExp
- bug_id:
172
- creation_ts:
2011-07-25 16:57:00 -0700
- short_desc:
clarify ASI rules when 2nd line starts with RegExp
- delta_ts:
2015-02-19 19:10:58 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Initial draft July 12, 2011
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
minor
- everconfirmed:
true
- reporter:
Allen Wirfs-Brock
- assigned_to:
Allen Wirfs-Brock
- commentid:
385
- comment_count:
0
- who:
Allen Wirfs-Brock
- bug_when:
2011-07-25 16:57:50 -0700
see https://mail.mozilla.org/pipermail/es5-discuss/2011-February/003932.html
Maybe 7.9.1 could also have the exception to ASI added when the next line starts with a regular expression? I'm not sure but I believe this is the only missing exception from the list. It's explicitly mentioned in the first note of chapter 7, but it seems fitting to mention it here as well (in the paragraph before the note). Maybe also add it to the examples of 7.9.2.
- commentid:
12774
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-16 11:36:59 -0800
fixed in rev34 editor's draft
added a paragraph to 11.9.1 clarifying that for ASI token determination is based upon the current lexical goal symbol.
also added clarifying language to the regexp example at the beginning of clause 11
- commentid:
13070
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-19 19:10:58 -0800
fixed in rev34