shorten list output
This commit is contained in:
parent
3d1e3f9421
commit
2b22cc6fb1
2
bake.l
2
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; }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user