archives

« Bugzilla Issues Index

#172 — clarify ASI rules when 2nd line starts with RegExp


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.


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


fixed in rev34