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.
This commit is contained in:
Olaf Seibert 2020-03-07 23:23:44 +01:00
parent cdef7047eb
commit 43aef73305

View File

@ -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;
}