From 4c24611172240b7afee76ad26273382962dfa130 Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Thu, 24 Oct 2024 22:52:10 +0100 Subject: [PATCH] Remove \n from puts() call The newline is added by puts() so this led to double newlines. --- app/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.c b/app/main.c index eed3136..ea87f8b 100644 --- a/app/main.c +++ b/app/main.c @@ -20,7 +20,7 @@ static bool step_repl(void) expression_t *expression; const int used = parse_expression(&pool, buffer, len, &expression); if (used != len) { - puts("Invalid expression\n"); + puts("Invalid expression"); return true; }