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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160849

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