@@ -53,7 +53,7 @@ The exception is for characters that are explicitly escaped which can represent
5353 syntax String ::= #parseWasmString ( WasmStringToken ) [function, total, hook(STRING.token2string)]
5454 // ----------------------------------------------------------------------------------------------------------
5555
56- syntax DataString ::= List{WasmString, ""} [klabel (listWasmString)]
56+ syntax DataString ::= List{WasmString, ""} [symbol (listWasmString), terminator-symbol(".List{\"listWasmString\"}" )]
5757 // -------------------------------------------------------------------
5858```
5959
@@ -74,7 +74,7 @@ Element Segment is a list of indices.
7474It is used when initializing a WebAssembly table, or used as the parameter of the ` br_table ` function.
7575
7676``` k
77- syntax ElemSegment ::= List{Index, ""} [klabel (listIndex)]
77+ syntax ElemSegment ::= List{Index, ""} [symbol (listIndex), terminator-symbol(".List{\"listIndex\"}" )]
7878 // ----------------------------------------------------------
7979```
8080
@@ -104,7 +104,7 @@ WebAssembly has three kinds of [Value types](https://webassembly.github.io/spec/
104104There are two basic type-constructors: sequencing (` [_] ` ) and function spaces (` _->_ ` ).
105105
106106``` k
107- syntax ValTypes ::= List{ValType, ""} [klabel (listValTypes), symbol]
107+ syntax ValTypes ::= List{ValType, ""} [symbol (listValTypes), terminator- symbol(".List{\"listValTypes\"}") ]
108108 // --------------------------------------------------------------------
109109```
110110
@@ -296,7 +296,7 @@ For `Int`, however, a the context is irrelevant and the index always just resolv
296296### ElemSegment
297297
298298``` k
299- syntax Ints ::= List{Int, ""} [klabel (listInt), symbol]
299+ syntax Ints ::= List{Int, ""} [symbol (listInt), terminator- symbol(".List{\"listInt\"}") ]
300300 // -------------------------------------------------------
301301
302302 syntax Int ::= #lenElemSegment (ElemSegment) [function, total]
0 commit comments