From c64d8217a598364fcb48ed965edc7a138f2f6750 Mon Sep 17 00:00:00 2001 From: A404M Date: Fri, 6 Jun 2025 02:54:20 +0330 Subject: cleaning import --- code/file.felan | 2 +- code/main.felan | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'code') diff --git a/code/file.felan b/code/file.felan index 64661b5..311a5ce 100644 --- a/code/file.felan +++ b/code/file.felan @@ -1,3 +1,3 @@ foo :: () -> void { - putc 'a'; + @putc('a'); }; diff --git a/code/main.felan b/code/main.felan index b570c08..36cddd9 100644 --- a/code/main.felan +++ b/code/main.felan @@ -1,4 +1,5 @@ @import("basic.felan"); +file :: @import("file.felan"); t :: (comptime formatter : string) macro -> string { i := 0; @@ -26,6 +27,7 @@ t :: (comptime formatter : string) macro -> string { }; main :: () -> void { + file.foo(); a := '2'; // @insert("a = '3';a = '5';"); s :: t("hello"); -- cgit v1.2.3