From 62f9f95382fc03c62ebd348ff3a7d7c4c5d01502 Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Mon, 31 Jul 2006 11:32:12 +0000 Subject: [PATCH] Do not forget to increment the input line counter when reading a word spanning multiple lines. PR: bin/101094 MFC after: 5 days --- bin/sh/parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/sh/parser.c b/bin/sh/parser.c index 47711170c6e3..26504c1f8964 100644 --- a/bin/sh/parser.c +++ b/bin/sh/parser.c @@ -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