summaryrefslogtreecommitdiff
path: root/bin/ksh/lex.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-10-01 02:05:58 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-10-01 02:05:58 +0000
commit7af587866799c05822d7ce6c84a82699bd1eb07b (patch)
tree5e4debc6d5f3366eed1af6d3ebfd5a9aaf5c2d1d /bin/ksh/lex.h
parent681a20ebbbbf2f359b11be4310b1ccc9428d48cf (diff)
Integrate pdksh 5.2.9.
Diffstat (limited to 'bin/ksh/lex.h')
-rw-r--r--bin/ksh/lex.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/ksh/lex.h b/bin/ksh/lex.h
index f4517db927f..8d755ca031d 100644
--- a/bin/ksh/lex.h
+++ b/bin/ksh/lex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lex.h,v 1.1 1996/08/14 06:19:11 downsj Exp $ */
+/* $OpenBSD: lex.h,v 1.2 1996/10/01 02:05:43 downsj Exp $ */
/*
* Source input, lexer and parser
@@ -51,7 +51,9 @@ struct source {
*/
#define SBASE 0 /* outside any lexical constructs */
#define SWORD 1 /* implicit quoting for substitute() */
+#ifdef KSH
#define SDPAREN 2 /* inside (( )), implicit quoting */
+#endif /* KSH */
#define SSQUOTE 3 /* inside '' */
#define SDQUOTE 4 /* inside "" */
#define SBRACE 5 /* inside ${} */
@@ -93,7 +95,9 @@ typedef union {
#define FUNCTION 274
#define TIME 275
#define REDIR 276
+#ifdef KSH
#define MDPAREN 277 /* (( )) */
+#endif /* KSH */
#define BANG 278 /* ! */
#define DBRACKET 279 /* [[ .. ]] */
#define COPROC 280 /* |& */