Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify insertion order when prepending multiple bytes at once to ioQueue #326

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions encoding.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2339,7 +2339,7 @@ consumers of content generated with <a>GBK</a>'s <a for=/>encoder</a>.
<p>If <var>byte</var> is not in the range 0x30 to 0x39, inclusive, then:

<ol>
<li><p><a>Prepend</a> <a>gb18030 second</a>, <a>gb18030 third</a>, and <var>byte</var> to
<li><p><a>Prepend</a> a sequence of <a>gb18030 second</a>, <a>gb18030 third</a>, and <var>byte</var> to
<var>ioQueue</var>.

<li><p>Set <a>gb18030 first</a>, <a>gb18030 second</a>, and <a>gb18030 third</a> to 0x00.
Expand All @@ -2366,7 +2366,7 @@ consumers of content generated with <a>GBK</a>'s <a for=/>encoder</a>.
<li><p>If <var>byte</var> is in the range 0x81 to 0xFE, inclusive, set
<a>gb18030 third</a> to <var>byte</var> and return <a>continue</a>.

<li><p><a>Prepend</a> <a>gb18030 second</a>
<li><p><a>Prepend</a> a sequence of <a>gb18030 second</a>
followed by <var>byte</var> to <var>ioQueue</var>, set
<a>gb18030 first</a> and <a>gb18030 second</a> to 0x00, and return
<a>error</a>.
Expand Down Expand Up @@ -2899,7 +2899,7 @@ and <var>code point</var>, runs these steps:
</ol>

<li><p>If <var>byte</var> is <a>end-of-queue</a>, then <a>prepend</a>
<var>lead</var> to <var>ioQueue</var>. Otherwise, <a>prepend</a>
<var>lead</var> to <var>ioQueue</var>. Otherwise, <a>prepend</a> a sequence of
<var>lead</var> and <var>byte</var> to <var>ioQueue</var>.

<li><p>Set <a>ISO-2022-JP output</a> to false,
Expand Down
Loading