Closed Ali-Danish-72 closed 3 months ago
There are more tokens that need to be added, namely the bonus ones [ ( ]
, [ ) ]
, [ && ]
, [ || ]
and [ * ]
as well as the [ $ ]
and [ ~ ]
. I didn't add them myself in the print_token()
function as you have been the one who has done the code for tokens so far, so it is best left upto on how to add it.
@mahahahad It's done now, you can merge whenever you're ready.
Luckily I just realized that the PR was opened for the main
branch and not the parsing
branch.
The main is now set to print after every line the tokens it has created and the type of token it is.
I added the
-g3
and-fsanitize=address
flags to theMakefile
to help with tackling segfaults.