You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: document/core/appendix/embedding.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Failure of an interface operation is indicated by an auxiliary syntactic class:
33
33
34
34
.. math::
35
35
\begin{array}{llll}
36
-
\production{(error)} & \error &::=& \ERROR \\
36
+
\production{error} & \error &::=& \ERROR \\
37
37
\end{array}
38
38
39
39
In addition to the error conditions specified explicitly in this section, implementations may also return errors when specific :ref:`implementation limitations <impl>` are reached.
Copy file name to clipboardExpand all lines: document/core/exec/modules.rst
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -669,7 +669,11 @@ It is up to the :ref:`embedder <embedder>` to define how such conditions are rep
669
669
670
670
f. :ref:`Execute <exec-elem.drop>` the instruction :math:`\ELEMDROP~i`.
671
671
672
-
15. For each :ref:`data segment <syntax-data>` :math:`\data_i` in :math:`\module.\MDATAS` whose :ref:`mode <syntax-datamode>` is of the form :math:`\DACTIVE~\{ \DMEM~\memidx_i, \DOFFSET~\X{dinstr}^\ast_i~\END \}`, do:
672
+
15. For each :ref:`element segment <syntax-elem>` :math:`\elem_i` in :math:`\module.\MELEMS` whose :ref:`mode <syntax-elemmode>` is of the form :math:`\EDECLARATIVE`, do:
673
+
674
+
a. :ref:`Execute <exec-elem.drop>` the instruction :math:`\ELEMDROP~i`.
675
+
676
+
16. For each :ref:`data segment <syntax-data>` :math:`\data_i` in :math:`\module.\MDATAS` whose :ref:`mode <syntax-datamode>` is of the form :math:`\DACTIVE~\{ \DMEM~\memidx_i, \DOFFSET~\X{dinstr}^\ast_i~\END \}`, do:
673
677
674
678
a. Assert: :math:`\memidx_i` is :math:`0`.
675
679
@@ -685,15 +689,15 @@ It is up to the :ref:`embedder <embedder>` to define how such conditions are rep
685
689
686
690
g. :ref:`Execute <exec-data.drop>` the instruction :math:`\DATADROP~i`.
687
691
688
-
16. If the :ref:`start function <syntax-start>` :math:`\module.\MSTART` is not empty, then:
692
+
17. If the :ref:`start function <syntax-start>` :math:`\module.\MSTART` is not empty, then:
689
693
690
694
a. Let :math:`\start` be the :ref:`start function <syntax-start>` :math:`\module.\MSTART`.
691
695
692
696
b. :ref:`Execute <exec-call>` the instruction :math:`\CALL~\start.\SFUNC`.
693
697
694
-
17. Assert: due to :ref:`validation <valid-module>`, the frame :math:`F` is now on the top of the stack.
698
+
18. Assert: due to :ref:`validation <valid-module>`, the frame :math:`F` is now on the top of the stack.
0 commit comments