From d122f3e8213372ce905895a6976d4c01467cffd1 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Mon, 10 Feb 2020 23:38:11 -0800 Subject: [PATCH] Put event section before global section Addresses #98. --- proposals/Exceptions.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/proposals/Exceptions.md b/proposals/Exceptions.md index 8ce962a6..f7c08f7c 100644 --- a/proposals/Exceptions.md +++ b/proposals/Exceptions.md @@ -414,10 +414,10 @@ appear immediately after the global section. ##### Event section The `event` section is the named section 'event'. For ease of validation, this -section comes after the [global -section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#global-section) -and before the [export -section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#export-section). +section comes after the [memory +section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#memory-section) +and before the [global +section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#global-section). So the list of all sections will be: | Section Name | Code | Description | @@ -427,8 +427,8 @@ So the list of all sections will be: | Function | `3` | Function declarations | | Table | `4` | Indirect function table and other tables | | Memory | `5` | Memory attributes | -| Global | `6` | Global declarations | | Event | `13` | Event declarations | +| Global | `6` | Global declarations | | Export | `7` | Exports | | Start | `8` | Start function declaration | | Element | `9` | Elements section |