{
lineno += nlines;
nlines = readline (&lb, infile, filename, lineno);
- p = next_token (lb.buffer);
+ collapse_continuations (lb.buffer);
+
+ p = next_token (lb.buffer);
if ((p[5] == '\0' || isblank (p[5])) && !strncmp (p, "endef", 5))
{
p += 5;
- collapse_continuations (p);
remove_comments (p);
if (*next_token (p) != '\0')
makefile_error (filename, lineno,
}
else
{
- unsigned int len = strlen (p);
+ unsigned int len = strlen (lb.buffer);
/* Increase the buffer size if necessary. */
if (idx + len + 1 > length)
definition = (char *) xrealloc (definition, length + 1);
}
- bcopy (p, &definition[idx], len);
+ bcopy (lb.buffer, &definition[idx], len);
idx += len;
/* Separate lines with a newline. */
definition[idx++] = '\n';