aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-04-30 16:20:01 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-04-30 16:20:01 +0300
commitdbcb4228e0301c241b5d921fd64e6d6139f714e3 (patch)
tree09bf856ac97e953a27a74f87f61135fddbf8af2a /src/compiler.c
parent2ca159fb5c2a52f33c499eef1fa50a98a863b0f0 (diff)
downloadek-dbcb4228e0301c241b5d921fd64e6d6139f714e3.tar.gz
ek-dbcb4228e0301c241b5d921fd64e6d6139f714e3.zip
rename to ek
Diffstat (limited to 'src/compiler.c')
-rw-r--r--src/compiler.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/compiler.c b/src/compiler.c
index b124a6f..2fa5b62 100644
--- a/src/compiler.c
+++ b/src/compiler.c
@@ -8,14 +8,14 @@
#include <limits.h>
#include <errno.h>
-#include <cu/actualize.h>
-#include <cu/compiler.h>
-#include <cu/string.h>
-#include <cu/parser.h>
-#include <cu/debug.h>
-#include <cu/scope.h>
-#include <cu/path.h>
-#include <cu/res.h>
+#include <ek/actualize.h>
+#include <ek/compiler.h>
+#include <ek/string.h>
+#include <ek/parser.h>
+#include <ek/debug.h>
+#include <ek/scope.h>
+#include <ek/path.h>
+#include <ek/res.h>
static char *read_file(const char *file, FILE *f)
{
@@ -97,18 +97,18 @@ int process_file(struct scope **scope, int public, const char *file)
if (!r)
return -1;
- const char *base = cu_basename(file);
+ const char *base = ek_basename(file);
res_add(r, (void *)base);
if (!base)
goto out;
- const char *dir = cu_dirname(file);
+ const char *dir = ek_dirname(file);
res_add(r, (void *)dir);
if (!dir)
goto out;
/* TODO: iterate through include paths */
- const char *cwd = cu_cwdname();
+ const char *cwd = ek_cwdname();
res_add(r, (void *)cwd);
if (!cwd)
goto out;