aboutsummaryrefslogtreecommitdiff
path: root/tomo.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-02-04 14:16:06 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-02-04 14:16:06 -0500
commit32da3a322636ed5a7131200bd4dbf607a1a29d19 (patch)
tree69f961393a5c8a2d572edf77534f8c8d65660bc6 /tomo.c
parente06d7180d464e570274714dd051278b4cb79f8f9 (diff)
Add a `_` prefix on variables so it's easier to debug in GDB
Diffstat (limited to 'tomo.c')
-rw-r--r--tomo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tomo.c b/tomo.c
index f095833c..46a2f4e3 100644
--- a/tomo.c
+++ b/tomo.c
@@ -530,7 +530,7 @@ void transpile_code(env_t *base_env, Text_t filename, bool force_retranspile)
CORD_put(CORD_all(
"int ", main_binding->code, "$parse_and_run(int argc, char *argv[]) {\n"
"tomo_init();\n",
- "$", module_env->namespace->name, "$$initialize();\n"
+ "_$", module_env->namespace->name, "$$initialize();\n"
"\n",
compile_cli_arg_call(module_env, main_binding->code, main_binding->type),
"return 0;\n"