Skip to content

Commit d2cb595

Browse files
authored
[spec] Fix use of elemexpr in text format (#2095)
1 parent fc696cd commit d2cb595

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

specification/wasm-3.0/6.4-text.modules.spectec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ grammar Telem_(I)/abbrev : (elem, idctxt) = ...
101101
"(" "elem" Toffset_(I) "func" Tlist(Tfuncidx_(I)) ")"
102102

103103
grammar Telemlist_(I)/plain : (reftype, expr*) =
104-
| rt:Treftype_(I) e*:Tlist(Texpr_(I)) => (rt, e*)
104+
| rt:Treftype_(I) e*:Tlist(Telemexpr_(I)) => (rt, e*)
105105
| ...
106106

107107
grammar Telemlist_(I)/abbrev : (reftype, expr*) =

specification/wasm-latest/6.4-text.modules.spectec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ grammar Telem_(I)/abbrev : (elem, idctxt) = ...
101101
"(" "elem" Toffset_(I) "func" Tlist(Tfuncidx_(I)) ")"
102102

103103
grammar Telemlist_(I)/plain : (reftype, expr*) =
104-
| rt:Treftype_(I) e*:Tlist(Texpr_(I)) => (rt, e*)
104+
| rt:Treftype_(I) e*:Tlist(Telemexpr_(I)) => (rt, e*)
105105
| ...
106106

107107
grammar Telemlist_(I)/abbrev : (reftype, expr*) =

0 commit comments

Comments
 (0)