commit fc32da6afa066bdd290380373f01c0642bbdbbc5
parent 6e6478cc6f38620de9b5a985711b7d9e12c3b0d1
Author: Eyal Sawady <ecs@d2evs.net>
Date: Mon, 15 Mar 2021 02:13:09 -0400
hare::lex::literal_type: remove
This should've been dropped when literals were refactored into tagged
unions
Diffstat:
1 file changed, 0 insertions(+), 21 deletions(-)
diff --git a/hare/lex/token.ha b/hare/lex/token.ha
@@ -234,27 +234,6 @@ export type label = str;
// A name, such as 'example'
export type name = str;
-// The type of a literal token, such as '1337u32' (U32)
-export type literal_type = enum {
- U8,
- U16,
- U32,
- U64,
- UINT,
- UINTPTR,
- I8,
- I16,
- I32,
- I64,
- INT,
- ICONST,
- F32,
- F64,
- FCONST,
- RUNE,
- STR,
-};
-
export type iconst = i64;
export type fconst = f64;