Do not forget to increment the input line counter

when reading a word spanning multiple lines.

PR:		bin/101094
MFC after:	5 days
This commit is contained in:
Yaroslav Tykhiy 2006-07-31 11:32:12 +00:00
parent 6a215886c0
commit 62f9f95382

View File

@ -952,6 +952,7 @@ readtoken1(int firstc, char const *syntax, char *eofmark, int striptabs)
USTPUTC('\\', out);
pungetc();
} else if (c == '\n') {
plinno++;
if (doprompt)
setprompt(2);
else