summaryrefslogtreecommitdiff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2020-02-14 01:58:20 +0100
committerAxel Beckert <abe@deuxchevaux.org>2020-02-14 01:58:20 +0100
commitbfc5d42735c1660263904ec5254cccf539a0a458 (patch)
tree9bbb81b4a53941427e6f9e65ae55027d9108df8c /Src/zsh.h
parent74561cc51b8867e43cb2937ab2edfb36e2a829bf (diff)
parent643de931640e01aa246723d2038328ef33737965 (diff)
downloadzsh-bfc5d42735c1660263904ec5254cccf539a0a458.tar.gz
zsh-bfc5d42735c1660263904ec5254cccf539a0a458.zip
Merge tag 'zsh-5.7.1-test-3' into debian
Test release: 5.7.1-test-3
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h29
1 files changed, 19 insertions, 10 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 10897372b..834142895 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -455,7 +455,7 @@ enum {
*/
#define FDT_FLOCK_EXEC 6
/*
- * Entry used by a process substition.
+ * Entry used by a process substitution.
* This marker is not tested internally as we associated the file
* descriptor with a job for closing.
*
@@ -1254,8 +1254,8 @@ enum {
/*
* Assignment has value?
- * If the assignment is an arrray, then it certainly has a value --- we
- * can only tell if there's an expicit assignment.
+ * If the assignment is an array, then it certainly has a value --- we
+ * can only tell if there's an explicit assignment.
*/
#define ASG_VALUEP(asg) (ASG_ARRAYP(asg) || \
@@ -1444,8 +1444,8 @@ struct builtin {
*/
#define BINF_HANDLES_OPTS (1<<18)
/*
- * Handles the assignement interface. The argv list actually contains
- * two nested litsts, the first of normal arguments, and the second of
+ * Handles the assignment interface. The argv list actually contains
+ * two nested lists, the first of normal arguments, and the second of
* assignment structures.
*/
#define BINF_ASSIGN (1<<19)
@@ -2006,7 +2006,7 @@ enum {
enum {
/*
* Set if the string had whitespace at the start
- * that should cause word splitting against any preceeding string.
+ * that should cause word splitting against any preceding string.
*/
MULTSUB_WS_AT_START = 1,
/*
@@ -2272,9 +2272,9 @@ struct histent {
*/
#define LEXFLAGS_NEWLINE 0x0010
-/******************************************/
-/* Definitions for programable completion */
-/******************************************/
+/*******************************************/
+/* Definitions for programmable completion */
+/*******************************************/
/* Nothing special. */
#define IN_NOTHING 0
@@ -2348,6 +2348,7 @@ enum {
CASEMATCH,
CBASES,
CDABLEVARS,
+ CDSILENT,
CHASEDOTS,
CHASELINKS,
CHECKJOBS,
@@ -2998,7 +2999,7 @@ struct sortelt {
int origlen;
/*
* The length of the string, if needed, else -1.
- * The length is only needed if there are embededded nulls.
+ * The length is only needed if there are embedded nulls.
*/
int len;
};
@@ -3221,6 +3222,14 @@ enum {
/* Hooks in core. */
/***************************************/
+/* The type of zexit()'s second parameter, which see. */
+enum zexit_t {
+ /* This isn't a bitfield. The values are here just for explicitness. */
+ ZEXIT_NORMAL = 0,
+ ZEXIT_SIGNAL = 1,
+ ZEXIT_DEFERRED = 2
+};
+
#define EXITHOOK (zshhooks + 0)
#define BEFORETRAPHOOK (zshhooks + 1)
#define AFTERTRAPHOOK (zshhooks + 2)