File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -1371,8 +1371,18 @@ Components may define values in the value index space using following syntax:
1371
1371
``` ebnf
1372
1372
value ::= (value <id>? <valtype> <val>)
1373
1373
val ::= false | true
1374
- | <core:i64>
1375
- | <f64canon>
1374
+ | (u8 <core:u8>)
1375
+ | (u16 <core:u16>)
1376
+ | (u32 <core:u32>)
1377
+ | (u64 <core:u64>)
1378
+ | (s8 <core:s8>)
1379
+ | (s16 <core:s16>)
1380
+ | (s32 <core:s32>)
1381
+ | (s64 <core:s64>)
1382
+ | (f32 <f32canon>)
1383
+ | (f32 nan)
1384
+ | (f64 <f64canon>)
1385
+ | (f64 nan)
1376
1386
| '<core:char>'
1377
1387
| <core:name>
1378
1388
| (record <val>+)
@@ -1383,6 +1393,7 @@ val ::= false | true
1383
1393
| (enum "<label>")
1384
1394
| none | (some <val>)
1385
1395
| ok | (ok <val>) | error | (error <val>)
1396
+ f32canon ::= <core:f32> without the `nan:0x` case.
1386
1397
f64canon ::= <core:f64> without the `nan:0x` case.
1387
1398
```
1388
1399
You can’t perform that action at this time.
0 commit comments