asm-js / validator

A reference validator for asm.js.
Apache License 2.0
1.78k stars 148 forks source link

Spec should mention semicolon insertion. #66

Closed cscott closed 10 years ago

cscott commented 11 years ago

It is intended that javascript rules for automatic semicolon insertion hold for asm.js programs. That is, the spec uses semicolons when presenting rules which are not strictly required to be present.

This should probably be mentioned in section 4.

sunfishcode commented 10 years ago

Section 4 now says "Automatic semicolon insertion is respected. An asm.js source file may omit semicolons wherever JavaScript allows them to be ommitted."

This was added in 7881fbe325fbfbeed1caf5d1d48b8c5f121ead2d.