wrc: parser_error() does not need a trailing '\n'.
This commit is contained in:
parent
0ee5d57079
commit
28b97861b9
|
@ -306,7 +306,7 @@ static unsigned long xstrtoul(const char *nptr, char **endptr, int base)
|
||||||
errno = 0;
|
errno = 0;
|
||||||
l = strtoul(nptr, endptr, base);
|
l = strtoul(nptr, endptr, base);
|
||||||
if (l == ULONG_MAX && errno == ERANGE)
|
if (l == ULONG_MAX && errno == ERANGE)
|
||||||
parser_error("integer constant %s is too large\n", nptr);
|
parser_error("integer constant %s is too large", nptr);
|
||||||
return l;
|
return l;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue