hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit bc1f150af48d9be47d57f1756cb1f70b2d67259c
parent 7ada774bc81f2c0a569f00a1b1d9e01a80bcedf1
Author: Sebastian <sebastian@sebsite.pw>
Date:   Fri, 15 Apr 2022 18:46:10 -0400

hare::types: update builtin to match ast::builtin

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mhare/types/types.ha | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hare/types/types.ha b/hare/types/types.ha @@ -21,8 +21,8 @@ export type array = struct { // A built-in primitive type (int, bool, str, etc). export type builtin = enum u8 { // Keep me consistent with ast::builtin - BOOL, CHAR, F32, F64, I16, I32, I64, I8, INT, NULL, RUNE, SIZE, STR, - U16, U32, U64, U8, UINT, UINTPTR, VOID, + BOOL, CHAR, F32, F64, FCONST, I16, I32, I64, I8, ICONST, INT, NULL, + RUNE, SIZE, STR, U16, U32, U64, U8, UINT, UINTPTR, VALIST, VOID, }; // An enum type, e.g. enum { FOO = 0 }