version 1.18, 2015/10/05 20:05:52 |
version 1.19, 2015/11/15 22:11:18 |
|
|
} else if ((*line)[0] == '>' && (*line)[1] == '=') { |
} else if ((*line)[0] == '>' && (*line)[1] == '=') { |
ml->test_operator = ']'; |
ml->test_operator = ']'; |
(*line) += 2; |
(*line) += 2; |
} else if (strchr("=<>&^", **line) != NULL) { |
} else if (**line != '\0' && strchr("=<>&^", **line) != NULL) { |
ml->test_operator = **line; |
ml->test_operator = **line; |
(*line)++; |
(*line)++; |
} |
} |
|
|
*cp = '\0'; |
*cp = '\0'; |
cp = s; |
cp = s; |
|
|
if (strchr("+-*/", *s) == NULL) { |
if (*s == '\0' || strchr("+-*/", *s) == NULL) { |
magic_warnm(m, at, "invalid strength operator: %s", s); |
magic_warnm(m, at, "invalid strength operator: %s", s); |
return; |
return; |
} |
} |