slight add

This commit is contained in:
Djairo Hougee 2024-02-16 16:32:11 +01:00
parent 00d7dcfa88
commit 414ae236bd
2 changed files with 3 additions and 0 deletions

3
main.c
View File

@ -94,6 +94,9 @@ int main(int argc, char *argv[]) {
// Because lists are pointers, we need copies so we can access the list later.
List cpy = tokenList, og = tokenList;
if (parseInputLine(&tokenList) && tokenList == NULL ) {
#if EXT_PROMPT
if (debug) printList(cpy);
#endif
// Consume the entire tokenList (through cpy).
while (cpy != NULL) {
switch (cpy->type) {

BIN
shell

Binary file not shown.