aboutsummaryrefslogtreecommitdiff
path: root/Modules.md
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2016-07-08 17:52:07 -0700
committerLuke Wagner <mail@lukewagner.name>2016-07-08 19:52:07 -0500
commitf69ae0188a1905ee34d0a50f61d848759f5bcbf6 (patch)
treece9a79584f3063cd8ea56f32bf2c83a31d0bcde5 /Modules.md
parent85c5e1c6de2a7a6fb098529de83eef743cfc7d4a (diff)
downloadnanowasm-design-f69ae0188a1905ee34d0a50f61d848759f5bcbf6.tar.gz
Update references to the "function" element type. (#721)
This is renamed to "anyfunc" in AstSemantics.md in #682. Also, fix grammar in the Elements Section.
Diffstat (limited to 'Modules.md')
-rw-r--r--Modules.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules.md b/Modules.md
index 244722a..ffaedaf 100644
--- a/Modules.md
+++ b/Modules.md
@@ -256,7 +256,7 @@ if there is a table definition, it *must* declare itself the default
Each table definition also includes an *element type*, *initial length*, and
optional *maximum length*.
-In the MVP, the only valid element type is `"function"`, but in the
+In the MVP, the only valid element type is `"anyfunc"`, but in the
[future](FutureFeatures.md#more-table-operators-and-types), more element
types may be added.
@@ -285,8 +285,8 @@ specify the initial contents of fixed `(offset, length)` ranges of a given
table, specified by its [table index](#table-index-space). The `length` is an
integer constant value (defining the length of the given segment). The `offset`
is an [initializer expression](#initializer-expression). Elements are specified
-with a `(type, index)` pair where `type` is the type of an
-[index spaces](Modules.md) that is compatible with the table's element type and
+with a `(type, index)` pair where `type` is the element type of an
+[index space](Modules.md) that is compatible with the table's element type and
`index` is an integer immediate into `type`s index space.
## Function and Code sections