Skip to content

Commit

Permalink
Merge pull request #475 from WebAssembly/fix-convert-formatting
Browse files Browse the repository at this point in the history
[spec] Fix formatting of any.convert_extern and extern.convert_any
  • Loading branch information
rossberg authored Nov 10, 2023
2 parents ff856be + 2f16867 commit 7caf1e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions document/core/text/instructions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ Reference Instructions
\text{ref.i31} &\Rightarrow& \REFI31 \\ &&|&
\text{i31.get\_u} &\Rightarrow& \I31GETU \\ &&|&
\text{i31.get\_s} &\Rightarrow& \I31GETS \\ &&|&
\text{any.convert_extern} &\Rightarrow& \ANYCONVERTEXTERN \\ &&|&
\text{extern.convert_any} &\Rightarrow& \EXTERNCONVERTANY \\
\text{any.convert\_extern} &\Rightarrow& \ANYCONVERTEXTERN \\ &&|&
\text{extern.convert\_any} &\Rightarrow& \EXTERNCONVERTANY \\
\end{array}
Expand Down Expand Up @@ -989,7 +989,7 @@ Such a folded instruction can appear anywhere a regular instruction can.
.. math::
\begin{array}{lllll}
\production{instruction} &
\production{instruction} &
\text{(}~\Tplaininstr~~\Tfoldedinstr^\ast~\text{)}
&\equiv\quad \Tfoldedinstr^\ast~~\Tplaininstr \\ &
\text{(}~\text{block}~~\Tlabel~~\Tblocktype~~\Tinstr^\ast~\text{)}
Expand Down
4 changes: 2 additions & 2 deletions document/core/util/macros.def
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,8 @@
.. |I31GETS| mathdef:: \xref{syntax/instructions}{syntax-instr-i31}{\K{i31.get\_s}}
.. |I31GETU| mathdef:: \xref{syntax/instructions}{syntax-instr-i31}{\K{i31.get\_u}}

.. |ANYCONVERTEXTERN| mathdef:: \xref{syntax/instructions}{syntax-instr-extern}{\K{any.convert_extern}}
.. |EXTERNCONVERTANY| mathdef:: \xref{syntax/instructions}{syntax-instr-extern}{\K{extern.convert_any}}
.. |ANYCONVERTEXTERN| mathdef:: \xref{syntax/instructions}{syntax-instr-extern}{\K{any.convert\_extern}}
.. |EXTERNCONVERTANY| mathdef:: \xref{syntax/instructions}{syntax-instr-extern}{\K{extern.convert\_any}}

.. |CONST| mathdef:: \xref{syntax/instructions}{syntax-instr-numeric}{\K{const}}
.. |EQZ| mathdef:: \xref{syntax/instructions}{syntax-instr-numeric}{\K{eqz}}
Expand Down

0 comments on commit 7caf1e6

Please sign in to comment.