File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -1362,20 +1362,21 @@ once at instantiation-time (i.e., they are [linear]).
1362
1362
Components may define values in the value index space using following syntax:
1363
1363
1364
1364
``` ebnf
1365
- value ::= (value <id>? <valtype> <val>)
1366
- val ::= false | true
1367
- | <core:i64>
1368
- | <core:f64> | NaN
1369
- | '<core:char>'
1370
- | <core:name>
1371
- | (record <val>+)
1372
- | (variant "<label>" <val>?)
1373
- | (list <val>*)
1374
- | (tuple <val>+)
1375
- | (flags "<label>"*)
1376
- | (enum "<label>")
1377
- | none | (some <val>)
1378
- | ok | (ok <val>) | error | (error <val>)
1365
+ value ::= (value <id>? <valtype> <val>)
1366
+ val ::= false | true
1367
+ | <core:i64>
1368
+ | <f64canon>
1369
+ | '<core:char>'
1370
+ | <core:name>
1371
+ | (record <val>+)
1372
+ | (variant "<label>" <val>?)
1373
+ | (list <val>*)
1374
+ | (tuple <val>+)
1375
+ | (flags "<label>"*)
1376
+ | (enum "<label>")
1377
+ | none | (some <val>)
1378
+ | ok | (ok <val>) | error | (error <val>)
1379
+ f64canon ::= <core:f64> without the `nan:0x` case.
1379
1380
```
1380
1381
1381
1382
The validation rules for ` value ` require the ` val ` to match the ` valtype ` . For example:
You can’t perform that action at this time.
0 commit comments