init solver

This commit is contained in:
hugogogo
2026-05-06 22:26:58 +02:00
parent 16c57c9bea
commit 4c13d21e1f
11 changed files with 159 additions and 75 deletions

View File

@@ -196,7 +196,7 @@ static void check_variables(s_token *tokens)
}
}
int parse(s_token *tokens, s_term *terms, int terms_count_max)
void parse(s_token *tokens, s_term *terms, int terms_count_max)
{
int i;
int terms_count;
@@ -265,6 +265,4 @@ int parse(s_token *tokens, s_term *terms, int terms_count_max)
{
stop_errors("terms_count: %i, terms_count_max: %i, tokens[%i].type: %s", terms_count, terms_count_max, i, token_type_to_str(tokens[i].type));
}
return terms_count;
}