Possible typos in the ECMAScript 5 specification?

Does anyone know why at the end of section 7.6, ECMA-262, fifth edition specification , nonterminals UnicodeLetter, UnicodeCombiningMark, UnicodeDigit, UnicodeconnectorPunctuation and UnicodeEscapeSequence are not followed by two colons?

From section 5.1.6:

Nonterminal characters are shown in italics. The definition of nonterminal is introduced by the name of the nonterminal, followed by one or more colons. (The number of colons indicates the grammar to which the production belongs.)

Since the lexical works are distinguished by two colons, and this is under the “Lexical conventions”, I assume that they were going to introduce colons. Does this sound right?

Just make sure that they are truly non-terminals, and that they really are part of the lexical grammar.

EDIT

I noticed that there are voices to close this. Just to talk about why this is related to programming, this applies to anyone who wants to implement an ECMAScript interpreter.

+4
source share
1 answer

I posted this question on the ECMAScript mailing list, which I hope will be reviewed by TC39 technical committee. For those who are curious, I will follow him if he is allowed.

UPDATE

It seems that this issue was considered by the committee. I looked at the new version of the specification and the changes there.

+2
source

All Articles