about summary refs log tree commit diff
path: root/executor.c
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-03-31 17:05:36 +0300
committerNakidai <nakidai@disroot.org>2025-03-31 17:05:36 +0300
commit2abf5178e4957c18ee9f83490eff5e4135199ff1 (patch)
tree1e618dbf7cdb8978c4d352dd2898e18f59430fef /executor.c
parent9bf6d941428e9fd2ba84dd1ebf1a4f7abd7f5642 (diff)
download3cl-2abf5178e4957c18ee9f83490eff5e4135199ff1.tar.gz
3cl-2abf5178e4957c18ee9f83490eff5e4135199ff1.zip
Some style improvments v1.3.1
- Rename readfile to allocfile (as it actually contains cccl_allocfile
  function)
- Add cccl_ prefix for functions defined in str.c
Diffstat (limited to 'executor.c')
-rw-r--r--executor.c4
1 files changed, 2 insertions, 2 deletions
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);