From 2abf5178e4957c18ee9f83490eff5e4135199ff1 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Mon, 31 Mar 2025 17:05:36 +0300 Subject: Some style improvments - Rename readfile to allocfile (as it actually contains cccl_allocfile function) - Add cccl_ prefix for functions defined in str.c --- executor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'executor.c') diff --git a/executor.c b/executor.c index 144ad2c..e748a8c 100644 --- a/executor.c +++ b/executor.c @@ -72,9 +72,9 @@ enum cccl_ExecutorStatus cccl_execute(struct cccl_Node *code, struct cccl_Variab { if (verbose) if (code->value) - fprintf(stderr, "Executing %s with %d [%c], %lu nodes, depth %lu\n", strnode(code->type), code->value, code->value, code->in_length, depth); + fprintf(stderr, "Executing %s with %d [%c], %lu nodes, depth %lu\n", cccl_strnode(code->type), code->value, code->value, code->in_length, depth); else - fprintf(stderr, "Executing %s, %lu nodes, depth %lu\n", strnode(code->type), code->in_length, depth); + fprintf(stderr, "Executing %s, %lu nodes, depth %lu\n", cccl_strnode(code->type), code->in_length, depth); if (interactive) { ssize_t length = getline(&line.buf, &line.length, stdin); -- cgit 1.4.1