File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -972,7 +972,7 @@ StringCharacter :: `\u` EscapedUnicode
972
972
973
973
- Let {value} be the hexadecimal value represented by the sequence of {HexDigit}
974
974
within {EscapedUnicode}.
975
- - Assert {value} is a within the _ Unicode scalar value_ range (>= 0x0000 and <=
975
+ - Assert: {value} is a within the _ Unicode scalar value_ range (>= 0x0000 and <=
976
976
0xD7FF or >= 0xE000 and <= 0x10FFFF).
977
977
- Return the _ Unicode scalar value_ {value}.
978
978
@@ -984,12 +984,12 @@ HexDigit HexDigit HexDigit
984
984
- Let {trailingValue} be the hexadecimal value represented by the second
985
985
sequence of {HexDigit}.
986
986
- If {leadingValue} is >= 0xD800 and <= 0xDBFF (a _ Leading Surrogate_ ):
987
- - Assert {trailingValue} is >= 0xDC00 and <= 0xDFFF (a _ Trailing Surrogate_ ).
987
+ - Assert: {trailingValue} is >= 0xDC00 and <= 0xDFFF (a _ Trailing Surrogate_ ).
988
988
- Return ({leadingValue} - 0xD800) × 0x400 + ({trailingValue} - 0xDC00) +
989
989
0x10000.
990
990
- Otherwise:
991
- - Assert {leadingValue} is within the _ Unicode scalar value_ range.
992
- - Assert {trailingValue} is within the _ Unicode scalar value_ range.
991
+ - Assert: {leadingValue} is within the _ Unicode scalar value_ range.
992
+ - Assert: {trailingValue} is within the _ Unicode scalar value_ range.
993
993
- Return the sequence of the _ Unicode scalar value_ {leadingValue} followed by
994
994
the _ Unicode scalar value_ {trailingValue}.
995
995
Original file line number Diff line number Diff line change @@ -757,7 +757,7 @@ coerce result values.
757
757
758
758
CoerceResult(leafType, value):
759
759
760
- - Assert {value} is not {null}.
760
+ - Assert: {value} is not {null}.
761
761
- Return the result of calling the internal method provided by the type system
762
762
for determining the "result coercion" of {leafType} given the value {value}.
763
763
This internal method must return a valid value for the type and not {null}.
You can’t perform that action at this time.
0 commit comments