@@ -3962,17 +3962,18 @@ <h3 id=parse-anb-notation><span class=secno>6.7. </span> <dfn
39623962 < var > step</ var > to 1. Otherwise, if the first string consists solely of a
39633963 single U+002B PLUS SIGN (+) or U+002D HYPHEN-MINUS (-), set the
39643964 < var > step</ var > to 1 or -1, respectively. Otherwise, attempt to interpret
3965- the first string as a base-10 number. If the attempt succeeds, set the
3966- < var > step</ var > to that number . Otherwise, this is a < i > parse error </ i > ;
3967- return a syntax error. If the second string is empty, set the
3968- < var > offset</ var > to 0. Otherwise, attempt to interpret the second string
3969- as a base-10 number. If the attempt succeeds, set the < var > offset </ var > to
3970- that number. Otherwise, this is a < i > parse error </ i > ; return a syntax
3971- error.
3965+ the first string as a base-10 number. If the attempt succeeds and produces
3966+ an integer, set the < var > step</ var > to that integer . Otherwise, this is a
3967+ < i > parse error </ i > ; return a syntax error. If the second string is empty,
3968+ set the < var > offset</ var > to 0. Otherwise, attempt to interpret the second
3969+ string as a base-10 number. If the attempt succeeds and produces an
3970+ integer, set the < var > offset </ var > to that integer. Otherwise, this is a
3971+ < i > parse error </ i > ; return a syntax error.
39723972
39733973 < p > Otherwise, attempt to interpret < var > repr</ var > as a base-10 number. If
3974- the attempt succeeds, set the < var > offset</ var > to that number. Otherwise,
3975- this is a < i > parse error</ i > ; return a syntax error.
3974+ the attempt succeeds and produces an integer, set the < var > offset</ var > to
3975+ that integer. Otherwise, this is a < i > parse error</ i > ; return a syntax
3976+ error.
39763977
39773978 < h2 id =serialization > < span class =secno > 7. </ span > Serialization</ h2 >
39783979
0 commit comments