mirror of
https://github.com/open-simh/simtools.git
synced 2026-02-28 09:18:40 +00:00
Let .LIST and .NLIST affect listing only if they have no argument.
This commit is contained in:
12
assemble.c
12
assemble.c
@@ -282,10 +282,18 @@ static int assemble(
|
||||
need: get assembly listing
|
||||
controls working fully. ) */
|
||||
case P_LIST:
|
||||
if (pass > 0) list_level++;
|
||||
if (pass > 0) {
|
||||
cp = skipwhite(cp);
|
||||
if (EOL(*cp))
|
||||
list_level++;
|
||||
}
|
||||
return 1;
|
||||
case P_NLIST:
|
||||
if (pass > 0) list_level--;
|
||||
if (pass > 0) {
|
||||
cp = skipwhite(cp);
|
||||
if (EOL(*cp))
|
||||
list_level--;
|
||||
}
|
||||
return 1;
|
||||
|
||||
case P_IDENT:
|
||||
|
||||
Reference in New Issue
Block a user