summaryrefslogtreecommitdiffstats
path: root/bin/sh/parser.h
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>1998-09-06 21:13:09 +0000
committertegge <tegge@FreeBSD.org>1998-09-06 21:13:09 +0000
commitac59a0c5cd4a2de80842186c8dd22ff48fe29da8 (patch)
treedda84e744f853179b31c4cd9bfa1676a63fa9c1e /bin/sh/parser.h
parent59e6a57bc195e6145db20a1292466fa6df067e24 (diff)
downloadFreeBSD-src-ac59a0c5cd4a2de80842186c8dd22ff48fe29da8.zip
FreeBSD-src-ac59a0c5cd4a2de80842186c8dd22ff48fe29da8.tar.gz
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.
Diffstat (limited to 'bin/sh/parser.h')
-rw-r--r--bin/sh/parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sh/parser.h b/bin/sh/parser.h
index ba4ef22..8671eca 100644
--- a/bin/sh/parser.h
+++ b/bin/sh/parser.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)parser.h 8.3 (Berkeley) 5/4/95
- * $Id$
+ * $Id: parser.h,v 1.6 1997/02/22 13:58:42 peter Exp $
*/
/* control characters in argument strings */
@@ -46,6 +46,7 @@
/* CTLBACKQ | CTLQUOTE == '\205' */
#define CTLARI '\206'
#define CTLENDARI '\207'
+#define CTLQUOTEMARK '\210'
/* variable substitution byte (follows CTLVAR) */
#define VSTYPE 0x0f /* type of variable substitution */
OpenPOWER on IntegriCloud