(Perhaps) temporary fix to pkgtools (cwrappers) build (configure).
Expanding `` containing \ \n sequences looks to have been giving problems. I don't think this is the correct fix, but it will do no worse harm than (perhaps) incorrectly calculating LINENO in this kind of (rare) circumstance. I'll look and see if there should be a better fix later.
This commit is contained in:
parent
3156bf44e9
commit
e4db6fa481
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: parser.c,v 1.136 2017/06/08 13:12:17 kre Exp $ */
|
||||
/* $NetBSD: parser.c,v 1.137 2017/06/08 22:10:39 kre Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993
|
||||
|
@ -37,7 +37,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)parser.c 8.7 (Berkeley) 5/16/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: parser.c,v 1.136 2017/06/08 13:12:17 kre Exp $");
|
||||
__RCSID("$NetBSD: parser.c,v 1.137 2017/06/08 22:10:39 kre Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -1405,7 +1405,9 @@ parsebackq(VSS *const stack, char * const in,
|
|||
|
||||
case '\n':
|
||||
plinno++;
|
||||
/*
|
||||
out = insert_elided_nl(out);
|
||||
*/
|
||||
needprompt = doprompt;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue