(handle_directive): In `#include <xxx>' directives, remove backslash-newline properly.

(handle_directive): In `#include <xxx>' directives, remove
backslash-newline properly.  Don't allow any other newlines.

From-SVN: r8036
This commit is contained in:
Richard Kenner 1994-09-07 19:31:32 -04:00
parent 6d545b717c
commit a957c7944d

View File

@ -3608,7 +3608,14 @@ handle_directive (ip, op)
case '<':
if (!kt->angle_brackets)
break;
while (*bp && *bp != '>') bp++;
while (bp < limit && *bp != '>' && *bp != '\n') {
if (*bp == '\\' && bp[1] == '\n') {
ip->lineno++;
copy_command = 1;
bp++;
}
bp++;
}
break;
case '/':