File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -183,11 +183,12 @@ param ::= 0x00 t:<valtype> => (param t)
183
183
| 0x01 n:<name> t:<valtype> => (param n t)
184
184
componenttype ::= 0x41 cd*:vec(<componentdecl>) => (component cd*)
185
185
instancetype ::= 0x42 id*:vec(<instancedecl>) => (instance id*)
186
- componentdecl ::= 0x00 id:<importdecl> => id
186
+ componentdecl ::= 0x03 id:<importdecl> => id
187
187
| id:<instancedecl> => id
188
- instancedecl ::= 0x01 t:<type> => t
188
+ instancedecl ::= 0x00 t:<core:type> => t
189
+ | 0x01 t:<type> => t
189
190
| 0x02 a:<alias> => a
190
- | 0x03 ed:<exportdecl> => ed
191
+ | 0x04 ed:<exportdecl> => ed
191
192
importdecl ::= n:<name> ed:<externdesc> => (import n ed)
192
193
exportdecl ::= n:<name> ed:<externdesc> => (export n ed)
193
194
externdesc ::= 0x00 0x11 i:<core:typeidx> => (core module (type i))
Original file line number Diff line number Diff line change @@ -430,7 +430,8 @@ componenttype ::= (component <componentdecl>*)
430
430
instancetype ::= (instance <instancedecl>*)
431
431
componentdecl ::= <importdecl>
432
432
| <instancedecl>
433
- instancedecl ::= <type>
433
+ instancedecl ::= core-prefix(<core:type>)
434
+ | <type>
434
435
| <alias>
435
436
| <exportdecl>
436
437
importdecl ::= (import <name> bind-id(<externdesc>))
You can’t perform that action at this time.
0 commit comments