Browse Source

Command 'listing r': No extra formatting, truncation etc.

of netlist lines when printing to file or console.
pre-master-46
Holger Vogt 3 years ago
parent
commit
8f8f7ff8ab
  1. 6
      src/frontend/inp.c

6
src/frontend/inp.c

@ -250,7 +250,7 @@ inp_list(FILE *file, struct card *deck, struct card *extras, int type)
Xprintf(file, "%s\n", here->error); Xprintf(file, "%s\n", here->error);
} }
else if ((*here->line != '*') && (type == LS_RUNNABLE)) { else if ((*here->line != '*') && (type == LS_RUNNABLE)) {
Xprintf(file, "%s\n", upper(here->line));
Xprintf(file, "%s\n", here->line);
if (here->error) if (here->error)
Xprintf(file, "%s\n", here->error); Xprintf(file, "%s\n", here->error);
} }
@ -279,7 +279,7 @@ inp_list(FILE *file, struct card *deck, struct card *extras, int type)
continue; continue;
if (type == LS_PHYSICAL) if (type == LS_PHYSICAL)
Xprintf(file, "%6d : %s\n", Xprintf(file, "%6d : %s\n",
here->linenum, upper(here->line));
here->linenum, upper(here->line));
else else
Xprintf(file, "%s\n", upper(here->line)); Xprintf(file, "%s\n", upper(here->line));
if (here->error && (type == LS_PHYSICAL)) if (here->error && (type == LS_PHYSICAL))
@ -291,7 +291,7 @@ inp_list(FILE *file, struct card *deck, struct card *extras, int type)
continue; continue;
if (type == LS_PHYSICAL) if (type == LS_PHYSICAL)
Xprintf(file, "%6d : %s\n", Xprintf(file, "%6d : %s\n",
there->linenum, upper(there->line));
there->linenum, upper(there->line));
else else
Xprintf(file, "%s\n", upper(there->line)); Xprintf(file, "%s\n", upper(there->line));
if (there->error && (type == LS_PHYSICAL)) if (there->error && (type == LS_PHYSICAL))

Loading…
Cancel
Save