style: adding normed to scanner.c
This commit is contained in:
parent
25ec735d0c
commit
05ebcbef50
2 changed files with 21 additions and 16 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/09/06 16:31:41 by rparodi #+# #+# */
|
||||
/* Updated: 2024/09/11 18:29:04 by maiboyer ### ########.fr */
|
||||
/* Updated: 2024/09/13 18:15:08 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -54,12 +54,12 @@ t_error get_user_input(t_state *state)
|
|||
return (NO_ERROR);
|
||||
}
|
||||
|
||||
//for the norme line 62: print_node_data(&state->current_node, 0);
|
||||
void exec_shcat(t_state *state)
|
||||
{
|
||||
t_program_result prog_res;
|
||||
|
||||
prog_res = (t_program_result){.exit = 0};
|
||||
//print_node_data(&state->current_node, 0);
|
||||
free_node(state->current_node);
|
||||
if (state->ast != NULL && run_program(\
|
||||
&state->ast->data.program, state, &prog_res))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue