From ac59a0c5cd4a2de80842186c8dd22ff48fe29da8 Mon Sep 17 00:00:00 2001 From: tegge Date: Sun, 6 Sep 1998 21:13:09 +0000 Subject: Better handling of word splitting. Don't record the same region multiple times when performing nested variable expansion, and preserve some quoting information in order to avoid removing apparently empty expansion result. --- bin/sh/mksyntax.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/sh/mksyntax.c') diff --git a/bin/sh/mksyntax.c b/bin/sh/mksyntax.c index 051cbc5..33f5ea8 100644 --- a/bin/sh/mksyntax.c +++ b/bin/sh/mksyntax.c @@ -45,7 +45,7 @@ static char const copyright[] = static char sccsid[] = "@(#)mksyntax.c 8.2 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id$"; + "$Id: mksyntax.c,v 1.11 1998/05/18 06:44:03 charnier Exp $"; #endif /* not lint */ /* @@ -293,6 +293,7 @@ init() syntax[base + CTLBACKQ + CTLQUOTE] = "CCTL"; syntax[base + CTLARI] = "CCTL"; syntax[base + CTLENDARI] = "CCTL"; + syntax[base + CTLQUOTEMARK] = "CCTL"; } -- cgit v1.1