Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 714d26e

Browse files
authored
Put event section before global section (#100)
Addresses #98.
1 parent 10d6c6c commit 714d26e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

proposals/Exceptions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -414,10 +414,10 @@ appear immediately after the global section.
414414
##### Event section
415415

416416
The `event` section is the named section 'event'. For ease of validation, this
417-
section comes after the [global
418-
section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#global-section)
419-
and before the [export
420-
section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#export-section).
417+
section comes after the [memory
418+
section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#memory-section)
419+
and before the [global
420+
section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#global-section).
421421
So the list of all sections will be:
422422

423423
| Section Name | Code | Description |
@@ -427,8 +427,8 @@ So the list of all sections will be:
427427
| Function | `3` | Function declarations |
428428
| Table | `4` | Indirect function table and other tables |
429429
| Memory | `5` | Memory attributes |
430-
| Global | `6` | Global declarations |
431430
| Event | `13` | Event declarations |
431+
| Global | `6` | Global declarations |
432432
| Export | `7` | Exports |
433433
| Start | `8` | Start function declaration |
434434
| Element | `9` | Elements section |

0 commit comments

Comments
 (0)