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 @@ -1364,8 +1364,18 @@ Components may define values in the value index space using following syntax:
1364
1364
``` ebnf
1365
1365
value ::= (value <id>? <valtype> <val>)
1366
1366
val ::= false | true
1367
- | <core:i64>
1368
- | <f64canon>
1367
+ | (u8 <core:u8>)
1368
+ | (u16 <core:u16>)
1369
+ | (u32 <core:u32>)
1370
+ | (u64 <core:u64>)
1371
+ | (s8 <core:s8>)
1372
+ | (s16 <core:s16>)
1373
+ | (s32 <core:s32>)
1374
+ | (s64 <core:s64>)
1375
+ | (f32 <f32canon>)
1376
+ | (f32 nan)
1377
+ | (f64 <f64canon>)
1378
+ | (f64 nan)
1369
1379
| '<core:char>'
1370
1380
| <core:name>
1371
1381
| (record <val>+)
@@ -1376,6 +1386,7 @@ val ::= false | true
1376
1386
| (enum "<label>")
1377
1387
| none | (some <val>)
1378
1388
| ok | (ok <val>) | error | (error <val>)
1389
+ f32canon ::= <core:f32> without the `nan:0x` case.
1379
1390
f64canon ::= <core:f64> without the `nan:0x` case.
1380
1391
```
1381
1392
You can’t perform that action at this time.
0 commit comments