diff --git a/mumble b/mumble index 19a0766..d8dc66c 100755 Binary files a/mumble and b/mumble differ diff --git a/src/mumble.c b/src/mumble.c index 1741748..09aaf78 100644 --- a/src/mumble.c +++ b/src/mumble.c @@ -25,6 +25,7 @@ int main(int argc, char** argv) lispy : /^/ + /$/ ; \ ", Number, Operator, Expr, Lispy); + int loop = 1; while (loop) { char* input = readline("mumble> "); @@ -33,12 +34,15 @@ int main(int argc, char** argv) loop = 0; puts(""); } else { - printf("You said: %s\n", input); + printf("Did you say \"%s\"?\n", input); add_history(input); // can't add if input is NULL } free(input); } + /* Undefine and Delete our Parsers */ + mpc_cleanup(4, Number, Operator, Expr, Lispy); + return 0; }