commit a7508a7baf1e0c20f8dc4766c1f27ad536b856a9
parent e98c229d70834e190c6c5321cbecc7948001f42b
Author: thing1 <thing1@seacrossedlovers.xyz>
Date: Sat, 13 Dec 2025 09:02:00 +0000
fixed multiple types
Diffstat:
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/a.out b/a.out
Binary files differ.
diff --git a/parse.c b/parse.c
@@ -28,6 +28,7 @@ getpres(tok t) {
return 4;
case INT:
+ case FLOAT:
return 6;
case OBRACE:
return 8;
diff --git a/test.spl b/test.spl
@@ -1,3 +1,4 @@
func main() i32 {
- i f32 = (4 + 2 - 4);
+ a i64 = 42342342;
+ b i8 = a;
}