@@ -9231,7 +9231,7 @@ grammar Bstartsec : start?
92319231;; ../../../../specification/wasm-latest/5.4-binary.modules.spectec
92329232grammar Belemkind : reftype
92339233 ;; ../../../../specification/wasm-latest/5.4-binary.modules.spectec
9234- prod 0x00 => REF_reftype(?(NULL_null ), FUNC_heaptype)
9234+ prod 0x00 => REF_reftype(?(), FUNC_heaptype)
92359235
92369236;; ../../../../specification/wasm-latest/5.4-binary.modules.spectec
92379237grammar Belem : elem
@@ -9986,9 +9986,9 @@ grammar Tcomptype_(I : I) : (comptype, idctxt)
99869986 ;; ../../../../specification/wasm-latest/6.2-text.types.spectec
99879987 prod{`ft*` : fieldtype*, `id?*` : char?*} {{"("} {"struct"} {(ft, ?(`%`_name(lift(id?{id <- `id?`}))))*{ft <- `ft*`, `id?` <- `id?*`}:Tlist(syntax (fieldtype, name?), grammar Tfield_(I))} {")"}} => (STRUCT_comptype(`%`_list(ft*{ft <- `ft*`})), {TYPES [], TAGS [], GLOBALS [], MEMS [], TABLES [], FUNCS [], DATAS [], ELEMS [], LOCALS [], LABELS [], FIELDS [?(`%`_name(lift(id?{id <- `id?`})))*{`id?` <- `id?*`}], TYPEDEFS []})
99889988 ;; ../../../../specification/wasm-latest/6.2-text.types.spectec
9989- prod{ft : fieldtype} {{"("} {"array"} {ft:Tfieldtype_(I)} {")"}} => (ARRAY_comptype(ft), {TYPES [], TAGS [], GLOBALS [], MEMS [], TABLES [], FUNCS [], DATAS [], ELEMS [], LOCALS [], LABELS [], FIELDS [], TYPEDEFS []})
9989+ prod{ft : fieldtype} {{"("} {"array"} {ft:Tfieldtype_(I)} {")"}} => (ARRAY_comptype(ft), {TYPES [], TAGS [], GLOBALS [], MEMS [], TABLES [], FUNCS [], DATAS [], ELEMS [], LOCALS [], LABELS [], FIELDS [[?(`%`_name([]))] ], TYPEDEFS []})
99909990 ;; ../../../../specification/wasm-latest/6.2-text.types.spectec
9991- prod{`t_1*` : valtype*, `t_2*` : valtype*, `id?*` : char?*} {{"("} {"func"} {(t_1, ?(`%`_name(lift(id?{id <- `id?`}))))*{`id?` <- `id?*`, t_1 <- `t_1*`}:Tlist(syntax (valtype, name?), grammar Tparam_(I))} {t_2*{t_2 <- `t_2*`}:Tlist(syntax valtype, grammar Tresult_(I))} {")"}} => (`FUNC%->%`_comptype(`%`_resulttype(t_1*{t_1 <- `t_1*`}), `%`_resulttype(t_2*{t_2 <- `t_2*`})), {TYPES [], TAGS [], GLOBALS [], MEMS [], TABLES [], FUNCS [], DATAS [], ELEMS [], LOCALS [], LABELS [], FIELDS [], TYPEDEFS []})
9991+ prod{`t_1*` : valtype*, `t_2*` : valtype*, `id?*` : char?*} {{"("} {"func"} {(t_1, ?(`%`_name(lift(id?{id <- `id?`}))))*{`id?` <- `id?*`, t_1 <- `t_1*`}:Tlist(syntax (valtype, name?), grammar Tparam_(I))} {t_2*{t_2 <- `t_2*`}:Tlist(syntax valtype, grammar Tresult_(I))} {")"}} => (`FUNC%->%`_comptype(`%`_resulttype(t_1*{t_1 <- `t_1*`}), `%`_resulttype(t_2*{t_2 <- `t_2*`})), {TYPES [], TAGS [], GLOBALS [], MEMS [], TABLES [], FUNCS [], DATAS [], ELEMS [], LOCALS [], LABELS [], FIELDS [[?(`%`_name([]))] ], TYPEDEFS []})
99929992
99939993;; ../../../../specification/wasm-latest/6.2-text.types.spectec
99949994grammar Tfinal : final
@@ -10112,24 +10112,24 @@ grammar Tlaneidx : laneidx
1011210112 prod{i : u8} i:Tu8 => i
1011310113
1011410114;; ../../../../specification/wasm-latest/6.3-text.instructions.spectec
10115- grammar Talign_(N : N) : u64
10115+ grammar Talign_(N : N) : u32
1011610116 ;; ../../../../specification/wasm-latest/6.3-text.instructions.spectec
10117- prod{m : m, n : n } {{"align="} {`%`_u64(m):Tu64}} => `%`_u64(m )
10117+ prod{n : n, m : m } {{"align="} {`%`_u64(m):Tu64}} => `%`_u32(n )
1011810118 -- if (m = (2 ^ n))
1011910119 ;; ../../../../specification/wasm-latest/6.3-text.instructions.spectec
10120- prod eps => `%`_u64 (N)
10120+ prod eps => `%`_u32 (N)
1012110121
1012210122;; ../../../../specification/wasm-latest/6.3-text.instructions.spectec
1012310123grammar Toffset : u64
1012410124 ;; ../../../../specification/wasm-latest/6.3-text.instructions.spectec
10125- prod{n : n } {{"offset="} {`%`_u64(n ):Tu64}} => `%`_u64(n )
10125+ prod{m : m } {{"offset="} {`%`_u64(m ):Tu64}} => `%`_u64(m )
1012610126 ;; ../../../../specification/wasm-latest/6.3-text.instructions.spectec
1012710127 prod eps => `%`_u64(0)
1012810128
1012910129;; ../../../../specification/wasm-latest/6.3-text.instructions.spectec
1013010130grammar Tmemarg_(N : N) : memarg
1013110131 ;; ../../../../specification/wasm-latest/6.3-text.instructions.spectec
10132- prod{n : n, m : m} {{`%`_u64 (n):Talign_(N)} {`%`_u64(m):Toffset}} => {ALIGN `%`_u32(n), OFFSET `%`_u64(m)}
10132+ prod{n : n, m : m} {{`%`_u32 (n):Talign_(N)} {`%`_u64(m):Toffset}} => {ALIGN `%`_u32(n), OFFSET `%`_u64(m)}
1013310133
1013410134;; ../../../../specification/wasm-latest/6.3-text.instructions.spectec
1013510135grammar Tplaininstr_(I : I) : instr
0 commit comments