diff --git a/proposals/Exceptions.md b/proposals/Exceptions.md index b324e76b..0f6b3682 100644 --- a/proposals/Exceptions.md +++ b/proposals/Exceptions.md @@ -365,10 +365,27 @@ 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 [import -section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#import-section) +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). +So the list of all sections will be: + +| Section Name | Code | Description | +| ------------ | ---- | ----------- | +| Type | `1` | Function signature declarations | +| Import | `2` | Import declarations | +| Function | `3` | Function declarations | +| Table | `4` | Indirect function table and other tables | +| Memory | `5` | Memory attributes | +| Global | `6` | Global declarations | +| Event | `12` | Event declarations | +| Export | `7` | Exports | +| Start | `8` | Start function declaration | +| Element | `9` | Elements section | +| Code | `10` | Function bodies (code) | +| Data | `11` | Data segments | + The event section declares a list of event types as follows: | Field | Type | Description |