summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index dd3e9c4..0087dc7 100644
--- a/main.c
+++ b/main.c
@@ -6,7 +6,7 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/12 17:03:30 by dkaiser #+# #+# */
-/* Updated: 2024/04/16 09:35:54 by dkaiser ### ########.fr */
+/* Updated: 2024/04/16 10:31:48 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -71,7 +71,7 @@ int main(int argc, char *argv[])
}
stack_optimize(data->a);
stack_sort(data);
- /* optimize_commands(&pscmds); */
+ optimize_commands(data);
print_commands(data->cmds);
ft_printf("\nA: ");
stack_print(data->a);