Don't search for ic.file within comments.

This commit is contained in:
Brian Taylor 2021-08-26 22:22:54 -07:00 committed by Holger Vogt
parent 5a8f07a292
commit 64686132ad
1 changed files with 2 additions and 1 deletions

View File

@ -1461,7 +1461,8 @@ struct inp_read_t inp_read( FILE *fp, int call_depth, const char *dir_name,
(ciprefix(".model", buffer) || buffer[0] == '+')) {
s = keep_case_of_cider_param(buffer);
}
else if (line_contains(buffer, "ic.file")) {
else if (!is_comment_or_blank(buffer) &&
line_contains(buffer, "ic.file")) {
s = keep_case_of_cider_param(buffer);
}
#endif