port spell fixes to source code

This commit is contained in:
Axel Kohlmeyer
2018-11-20 00:09:11 -05:00
parent 4251c70e93
commit 4c021dad37
4 changed files with 6 additions and 6 deletions

View File

@ -429,14 +429,14 @@ char *Input::nextword(char *str, char **next)
start += 3;
*next = stop+3;
if (**next && !isspace(**next))
error->all(FLERR,"Input line quote not followed by whitespace");
error->all(FLERR,"Input line quote not followed by white-space");
} else if (*start == '"' || *start == '\'') {
stop = strchr(&start[1],*start);
if (!stop) error->all(FLERR,"Unbalanced quotes in input line");
start++;
*next = stop+1;
if (**next && !isspace(**next))
error->all(FLERR,"Input line quote not followed by whitespace");
error->all(FLERR,"Input line quote not followed by white-space");
} else {
stop = &start[strcspn(start," \t\n\v\f\r")];
if (*stop == '\0') *next = stop;