inpcom.c, cleanup

This commit is contained in:
rlar 2013-06-05 20:54:25 +02:00
parent b18854c3c0
commit ffefd7a96f
1 changed files with 1 additions and 3 deletions

View File

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