Marcel Hendrix's fix for Bug #324 -

Difference between file and line input for '];'
This commit is contained in:
Giles Atkinson 2023-07-29 09:30:51 +01:00
parent e9386155a6
commit d3a8634afe
1 changed files with 1 additions and 1 deletions

View File

@ -3199,7 +3199,7 @@ static void inp_stripcomments_line(char *s, bool cs)
/* look for comments */
while ((c = *d) != '\0') {
d++;
if (*d == ';') {
if (!cs && *d == ';') {
break;
}
/* outside of .control section, and not in PS mode */