From 43aef73305688f359ca0c7d7ee365a5b346e880b Mon Sep 17 00:00:00 2001 From: Olaf Seibert Date: Sat, 7 Mar 2020 23:23:44 +0100 Subject: [PATCH] Fix logical error in listing from maclib. It seems the code was similarly wrong before I introduced the flag CALLED_NOLIST in f07c9045f5bf60ccd821a33bb4ebf06d06fe7c48. No change in regression tests as we don't have macro libraries available to test. --- macros.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.c b/macros.c index 6b440b2..c97f75f 100644 --- a/macros.c +++ b/macros.c @@ -250,7 +250,7 @@ MACRO *defmacro( gb = new_buffer(); - if (!(called & CALLED_NOLIST) && !list_md) { + if ((called & CALLED_NOLIST) && !list_md) { list_level--; levelmod = 1; }