diff options
| author | David Moc <personal@cdatgoose.org> | 2026-03-08 15:02:30 +0100 |
|---|---|---|
| committer | David Moc <personal@cdatgoose.org> | 2026-03-08 15:02:30 +0100 |
| commit | ad035ac5d942c6448a6a0464b995c2868a8378db (patch) | |
| tree | 9c2c779d544a45b4234a6a3c311aa7b612ea975e /src/main.c | |
| parent | 0385817bb1301a778bb33f8405a435293b9f8905 (diff) | |
Gosh.\nFixed bugs in offsetting. Added syscalls. Cleaned up the previous commenting (used to pass the project thu claude to add comments but LLMs are dumb). Removed the LLM made test runner cuz fuck AI.HEADmaster
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -187,7 +187,10 @@ void print_func(_FN *f, int indent) { return; indentf(indent); - printf("Function(%s) params=[", f->name); + /* Print return type */ + printf("Function(%s) -> [%s", f->name, tybase_name(f->ret_type.base)); + for (int j = 0; j < f->ret_type.ptr_level; j++) printf("*"); + printf("] params=["); for (int i = 0; i < f->pac; i++) { printf("%s", tybase_name(f->param_types[i].base)); for (int j = 0; j < f->param_types[i].ptr_level; j++) |
