update: still smth to fix
This commit is contained in:
parent
d97efa87a7
commit
7e16ea3fe0
4 changed files with 16 additions and 12 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/03/28 14:40:38 by rparodi #+# #+# */
|
||||
/* Updated: 2024/10/12 17:52:01 by rparodi ### ########.fr */
|
||||
/* Updated: 2024/10/13 17:55:56 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -94,7 +94,7 @@ t_error parse_str(t_state *state)
|
|||
if (ts_apply_passes(tokens, &tokens))
|
||||
return (ERROR);
|
||||
if (yard(tokens, &ast))
|
||||
return ((void)printf("failed to ast build\n"), (ERROR));
|
||||
return (ERROR);
|
||||
if (ast.len != 1)
|
||||
return (ERROR);
|
||||
vec_ast_pop(&ast, &state->ast);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/05/02 13:22:14 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/10/12 17:52:02 by rparodi ### ########.fr */
|
||||
/* Updated: 2024/10/13 17:56:04 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -16,9 +16,9 @@
|
|||
|
||||
t_error install_signal(void)
|
||||
{
|
||||
if (signal(SIGINT, SIG_IGN))
|
||||
return (ERROR);
|
||||
if (signal(SIGQUIT, SIG_IGN))
|
||||
return (ERROR);
|
||||
//if (signal(SIGINT, SIG_IGN))
|
||||
// return (ERROR);
|
||||
//if (signal(SIGQUIT, SIG_IGN))
|
||||
// return (ERROR);
|
||||
return (NO_ERROR);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue