aboutsummaryrefslogtreecommitdiffstats
path: root/bashjmp.h
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2004-07-27 13:29:18 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:56 +0000
commitb80f6443b6b7b620c7272664c66ecb0b120a0998 (patch)
tree9f71c98d8fe8fa0f41d95e1eb4227f32a09d43ca /bashjmp.h
parent7117c2d221b2aed4ede8600f6a36b7c1454b4f55 (diff)
downloadandroid_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.tar.gz
android_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.tar.bz2
android_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.zip
Imported from ../bash-3.0.tar.gz.
Diffstat (limited to 'bashjmp.h')
-rw-r--r--bashjmp.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/bashjmp.h b/bashjmp.h
index 2b44189..12173e1 100644
--- a/bashjmp.h
+++ b/bashjmp.h
@@ -33,9 +33,10 @@ extern procenv_t return_catch; /* used by `return' builtin */
xbcopy ((char *)old, (char *)save, sizeof (procenv_t));
/* Values for the second argument to longjmp/siglongjmp. */
-#define NOT_JUMPED 0 /* Not returning from a longjmp. */
-#define FORCE_EOF 1 /* We want to stop parsing. */
-#define DISCARD 2 /* Discard current command. */
-#define EXITPROG 3 /* Unconditionally exit the program now. */
+#define NOT_JUMPED 0 /* Not returning from a longjmp. */
+#define FORCE_EOF 1 /* We want to stop parsing. */
+#define DISCARD 2 /* Discard current command. */
+#define EXITPROG 3 /* Unconditionally exit the program now. */
+#define ERREXIT 4 /* Exit due to error condition */
#endif /* _BASHJMP_H_ */