diff --git a/main.c b/main.c index 99ea954..e0f81e4 100644 --- a/main.c +++ b/main.c @@ -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) { diff --git a/shell b/shell index 3f2b44e..6568702 100755 Binary files a/shell and b/shell differ