Browse Source

inpcom.c, cleanup

pre-master-46
rlar 13 years ago
parent
commit
ffefd7a96f
  1. 4
      src/frontend/inpcom.c

4
src/frontend/inpcom.c

@ -700,15 +700,13 @@ inp_readall(FILE *fp, int call_depth, char *dir_name, bool comfile, bool intfile
}
/* Now clean up li: remove comments & stitch together continuation lines. */
working = cc->li_next; /* cc points to head of deck. Start with the
next card. */
/* sjb - strip or convert end-of-line comments.
This must be cone before stitching continuation lines.
If the line only contains an end-of-line comment then it is converted
into a normal comment with a '*' at the start. This will then get
stripped in the following code. */
inp_stripcomments_deck(working);
inp_stripcomments_deck(cc->li_next);
inp_stitch_continuation_lines(cc->li_next);

Loading…
Cancel
Save