This commit is contained in:
hugogogo
2026-04-29 00:58:33 +02:00
parent 52c76767bd
commit 9ced220c00
3 changed files with 8 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
#include "computorv1.h"
#include "lexer.h"
#include "errors.h"
#include <stdio.h> // tmp for float debug
int main(int ac, char **av)
{
@@ -55,7 +56,7 @@ int main(int ac, char **av)
if (tokens[i].type == TOKEN_NUMBER)
{
ft_printf("%d\n", i, tokens[i].num_value);
printf("%f\n", tokens[i].num_value);
}
else
{