From fd2292b20eee9c36179c143e21861ac0d403cb36 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 28 Feb 2025 21:28:08 -0500 Subject: listamsb: print initial EOL before the listing, to match what AMSB does. --- listamsb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/listamsb.c b/listamsb.c index 77d9a88..590453f 100644 --- a/listamsb.c +++ b/listamsb.c @@ -599,6 +599,9 @@ int main(int argc, char **argv) { exit(0); /* don't need finish() here, no parsing done */ } + /* AMSB always prints a blank line when it LISTs, so we do too. */ + fputc(EOL, outfile); + while(next_line()) linecount++; -- cgit v1.2.3