summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-01-14 22:08:56 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2016-01-14 22:08:56 +0000
commitf90d49f7dacfd209a5584c7da8ce8a275278bba1 (patch)
tree2f92e8b3c406b59a81962edd29cdc2710525db92 /src
parenta57b620090bf63a65f16624dcaeb883b4f4a0346 (diff)
Expansions: more detail in error messages
Diffstat (limited to 'src')
-rw-r--r--src/src/expand.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/src/expand.c b/src/src/expand.c
index 2966c22c6..85d8c6a27 100644
--- a/src/src/expand.c
+++ b/src/src/expand.c
@@ -3155,7 +3155,8 @@ Arguments:
yieldptr points to the output string pointer
sizeptr points to the output string size
ptrptr points to the output string pointer
- type "lookup" or "if" or "extract" or "run", for error message
+ type "lookup", "if", "extract", "run", "env", "listextract" or
+ "certextract" for error message
resetok if not NULL, pointer to flag - write FALSE if unsafe to reset
the store.
@@ -5481,7 +5482,7 @@ while (*s != 0)
&yield, /* output pointer */
&size, /* output size */
&ptr, /* output current point */
- US"extract", /* condition type */
+ US"listextract", /* condition type */
&resetok))
{
case 1: goto EXPAND_FAILED; /* when all is well, the */
@@ -5553,7 +5554,7 @@ while (*s != 0)
&yield, /* output pointer */
&size, /* output size */
&ptr, /* output current point */
- US"extract", /* condition type */
+ US"certextract", /* condition type */
&resetok))
{
case 1: goto EXPAND_FAILED; /* when all is well, the */