From 1c25c197d860ad49bb6a84e077a54e5aaf441bbd Mon Sep 17 00:00:00 2001 From: lemon Date: Wed, 17 Aug 2022 22:47:36 +0200 Subject: parse defmacro --- examples/hello-world.cff | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'examples') diff --git a/examples/hello-world.cff b/examples/hello-world.cff index 29a1c03..3eb198c 100644 --- a/examples/hello-world.cff +++ b/examples/hello-world.cff @@ -1,10 +1,6 @@ -extern fn printf(fmt *const u8, ...) int; -extern fn cos(x f32) f32; +import "libc.hff"; extern fn main(argc int, argv *const *const u8) int { - let x = argv, - z = 3; - let foo = x + z; printf("hello world\n"); } -- cgit v1.2.3