From f69ae0188a1905ee34d0a50f61d848759f5bcbf6 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 8 Jul 2016 17:52:07 -0700 Subject: 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. --- Modules.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Modules.md') 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 -- cgit v1.2.3