File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -912,6 +912,8 @@ lit (Spanned (LiteralTok litTok suffix_m) s) = Spanned (parseLit litTok suffix s
912
912
(Just (Name "u32")) -> U32
913
913
(Just (Name "i64")) -> I64
914
914
(Just (Name "u64")) -> U64
915
+ (Just (Name "i128")) -> I128
916
+ (Just (Name "u128")) -> U128
915
917
916
918
isPathSegmentIdent :: Ident -> Bool
917
919
isPathSegmentIdent i = True
Original file line number Diff line number Diff line change @@ -432,8 +432,8 @@ data LifetimeDef a
432
432
-- Merged [FloatTy](https://docs.serde.rs/syntex_syntax/ast/enum.FloatTy.html)
433
433
data Suffix
434
434
= Unsuffixed
435
- | Is | I8 | I16 | I32 | I64
436
- | Us | U8 | U16 | U32 | U64
435
+ | Is | I8 | I16 | I32 | I64 | I128
436
+ | Us | U8 | U16 | U32 | U64 | U128
437
437
| F32 | F64
438
438
deriving (Eq , Enum , Bounded )
439
439
@@ -444,11 +444,13 @@ instance Show Suffix where
444
444
show I16 = " i16"
445
445
show I32 = " i32"
446
446
show I64 = " i64"
447
+ show I128 = " i128"
447
448
show Us = " usize"
448
449
show U8 = " u8"
449
450
show U16 = " u16"
450
451
show U32 = " u32"
451
452
show U64 = " u64"
453
+ show U128 = " u128"
452
454
show F32 = " f32"
453
455
show F64 = " f64"
454
456
You can’t perform that action at this time.
0 commit comments