summaryrefslogtreecommitdiffstats
path: root/bin/sh/eval.h
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-12-14 06:20:03 +0000
committersteve <steve@FreeBSD.org>1996-12-14 06:20:03 +0000
commitc58aca035e2c61510b619368861598623eb95e52 (patch)
tree049d84189a59de29d49254b609a318b17ee59387 /bin/sh/eval.h
parenta958416f1b4a022c358b94db0b8e6bcc6cb54ee0 (diff)
downloadFreeBSD-src-c58aca035e2c61510b619368861598623eb95e52.zip
FreeBSD-src-c58aca035e2c61510b619368861598623eb95e52.tar.gz
Merge in NetBSD mods and -Wall cleaning.
Obtained from: NetBSD, me
Diffstat (limited to 'bin/sh/eval.h')
-rw-r--r--bin/sh/eval.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/sh/eval.h b/bin/sh/eval.h
index 8649bf8..ceaef6d 100644
--- a/bin/sh/eval.h
+++ b/bin/sh/eval.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)eval.h 8.2 (Berkeley) 5/4/95
- * $Id: eval.h,v 1.2 1994/09/24 02:57:31 davidg Exp $
+ * $Id: eval.h,v 1.3 1996/09/01 10:19:59 peter Exp $
*/
extern char *commandname; /* currently executing command */
@@ -64,3 +64,10 @@ int execcmd __P((int, char **));
/* in_function returns nonzero if we are currently evaluating a function */
#define in_function() funcnest
extern int funcnest;
+extern int evalskip;
+
+/* reasons for skipping commands (see comment on breakcmd routine) */
+#define SKIPBREAK 1
+#define SKIPCONT 2
+#define SKIPFUNC 3
+#define SKIPFILE 4
OpenPOWER on IntegriCloud