Upgrade codegen

This commit is contained in:
Abdelrahman Said
2025-04-17 09:03:30 +01:00
parent aa04fab6ea
commit 3c32b247c0
15 changed files with 66 additions and 46 deletions

View File

@@ -1,4 +1,4 @@
{T}Node *output = NULL;
{Ttitle}Node *output = NULL;
if (!list || list->node_count == 0) {{
goto RETURN_{Tupper}_LIST_POP_BACK;
@@ -7,7 +7,7 @@
output = list->last;
if (list->node_count == 1) {{
*list = ({T}List){{0}};
*list = ({Ttitle}List){{0}};
goto RETURN_{Tupper}_LIST_POP_BACK;
}}