if (*p == '(' || *skip_whitespace (p) == '(') {
- arg1 = skip_whitespace (p + 1);
+ arg1 = skip_whitespace (skip_whitespce (p) + 1);
if (!(comma = strchr (p, ',')) || !(q = strrchr (p, ')')) || q < comma) {
goto ifeq_invalid_syntax;
} else {
- ch = *p;
-
- if (!*(p = skip_whitespace (p))) {
+ if (!*skip_whitespace (p)) {
goto ifeq_invalid_syntax;
}
- if (!isspace ((int) ch)) {
+ if (!isspace ((int) *p)) {
- fprintf (stderr, "%s: *** missing separator (%s must be followed by whitespace). Stop.\n", program_name, ifneq ? "ifneq" : "ifeq");
+ fprintf (stderr, "%s: *** missing separator (%s must be followed by whitespace). Stop.\n", program_name, ifneq ? "ifneq" : "ifeq");
exit (EXIT_FAILURE);
}
+ p = skip_whitespace (p);
+
if (*p == '"' || *p == '\'') {
ch = *p++;