taandreo / minishell

Minihell from 42. Everything is gonna be fine.
2 stars 1 forks source link

Exit code tokenizer #4

Closed taandreo closed 1 year ago

edu-bm7 commented 1 year ago

Added the exit code to each tokenize function. Moving to extensively test the exit codes to check it correctness commit d3b86d4

edu-bm7 commented 1 year ago

Tokenizer now saves the exit code to flags->status, and it exit the program with this status commit 11269b7. After the code evolves, we should use this status only to exit the program if something is wrong meaning flags->status != SUCCESS

edu-bm7 commented 1 year ago

For now we are going to use t_token_flags to save the tokens exit codes. Closing this issue and marking as Done, if we change the behaviour of the program in the future we can reopen this issue