summaryrefslogtreecommitdiff
path: root/bin/ksh/lex.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-12-18 21:04:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-12-18 21:04:53 +0000
commitb228348292c4361c750ae05a5597a15e71c5c5da (patch)
treee7527881cd44cefdbbcd11ec8332b581e2e4f8ec /bin/ksh/lex.h
parent55e483bc0655baec919e26c2dfcdda314a467a32 (diff)
Get rid of #ifdef KSH since we don't care about building a V7 style sh and
the #ifdef KSH code is required to make a POSIX sh. From Matthias Kilian
Diffstat (limited to 'bin/ksh/lex.h')
-rw-r--r--bin/ksh/lex.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/ksh/lex.h b/bin/ksh/lex.h
index 016f8b2cd36..ce66470b2c2 100644
--- a/bin/ksh/lex.h
+++ b/bin/ksh/lex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lex.h,v 1.8 2004/11/02 22:09:24 deraadt Exp $ */
+/* $OpenBSD: lex.h,v 1.9 2004/12/18 21:04:52 millert Exp $ */
/*
* Source input, lexer and parser
@@ -52,9 +52,7 @@ struct source {
*/
#define SBASE 0 /* outside any lexical constructs */
#define SWORD 1 /* implicit quoting for substitute() */
-#ifdef KSH
#define SLETPAREN 2 /* inside (( )), implicit quoting */
-#endif /* KSH */
#define SSQUOTE 3 /* inside '' */
#define SDQUOTE 4 /* inside "" */
#define SBRACE 5 /* inside ${} */
@@ -96,9 +94,7 @@ 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 /* |& */