jorendorff / es-spec-html

An HTML version of the ECMAScript draft specification autogenerated from the source
http://ecma-international.org/ecma-262/5.1/
51 stars 17 forks source link

Wrong indentation in #sec-object-initialiser-runtime-semantics-evaluation #46

Open jorendorff opened 11 years ago

jorendorff commented 11 years ago

The second group of ObjectLiteral productions is indented; it shouldn't be.

allenwb commented 10 years ago

changed the paragraph style to "Syntax Label" for rev24

jorendorff commented 10 years ago

This is my bug, so I don't think you can really fix it.

Multiline grammar productions are used in Syntax sections, where they are indented, and in Semantics sections, where they are not. The script doesn't take into account the second possibility. (I guess I didn't notice that there are places where multiple productions are grouped like this.) So it renders the production with the same formatting as in the Syntax section.