version 1.5, 2015/05/29 14:15:41 |
version 1.6, 2015/07/08 17:47:15 |
|
|
|
|
if (*s == '.') { |
if (*s == '.') { |
s++; |
s++; |
if (strchr("bslBSL", *s) == NULL) { |
if (*s == '\0' || strchr("bslBSL", *s) == NULL) { |
magic_warn(ml, "unknown offset type"); |
magic_warn(ml, "unknown offset type"); |
goto fail; |
goto fail; |
} |
} |
|
|
goto done; |
goto done; |
} |
} |
|
|
if (strchr("+-*", *s) == NULL) { |
if (*s == '\0' || strchr("+-*", *s) == NULL) { |
magic_warn(ml, "unknown offset operator"); |
magic_warn(ml, "unknown offset operator"); |
goto fail; |
goto fail; |
} |
} |