update: fixed comp error bc cc doesn't know about me_abort
This commit is contained in:
parent
dbb53d37ab
commit
2363fadd02
1 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/10/09 12:44:53 by maiboyer #+# #+# */
|
/* Created: 2024/10/09 12:44:53 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/10/10 16:21:44 by maiboyer ### ########.fr */
|
/* Updated: 2024/10/10 16:22:39 by maiboyer ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -38,6 +38,7 @@ t_ast_node ast_from_op(t_token tok, t_vec_ast *output_queue)
|
||||||
// this needs have a protection in case output_queue is smaller than 2 elements
|
// this needs have a protection in case output_queue is smaller than 2 elements
|
||||||
// otherwise it is good :)
|
// otherwise it is good :)
|
||||||
// you could also make it so TOK_AND and TOK_OR share the same code to win some lines
|
// you could also make it so TOK_AND and TOK_OR share the same code to win some lines
|
||||||
|
ret = NULL;
|
||||||
if (tok.type == TOK_AND)
|
if (tok.type == TOK_AND)
|
||||||
{
|
{
|
||||||
ret = ast_alloc(AST_LIST);
|
ret = ast_alloc(AST_LIST);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue