From 2b22cc6fb13439f50002fd0e85b10e49b0401611 Mon Sep 17 00:00:00 2001 From: Emil Williams Date: Sat, 28 Sep 2024 21:41:31 +0000 Subject: [PATCH] shorten list output --- bake.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bake.l b/bake.l index fa0b1f5..88e8fef 100644 --- a/bake.l +++ b/bake.l @@ -41,7 +41,7 @@ MACROS (@BAKE|@FILENAME|@FILE|@NAME|@SHORT|@ARGS|@LINE|@STOP|$@|$*|$+) first_nl = 1; if (yytext[yyleng-1] == '\n') { ++line; } if (!g_select) { ; } - else if (g_select < 0) { BEGIN FOUND; printf("\n%s:%d:s%d: ", g_filename, line, ++nth); } + else if (g_select < 0) { BEGIN FOUND; printf("%s:%d:s%d: ", g_filename, line, ++nth); } else if (!--g_select) { BEGIN FOUND; } }