summaryrefslogtreecommitdiff
path: root/subst.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2020-11-17 14:18:49 -0500
committerChet Ramey <chet.ramey@case.edu>2020-11-17 14:18:49 -0500
commit37b22abee700eb1b0c5b6926ab32630a429c1183 (patch)
tree01d22efef9babf0127776b6b3c4387b03dc629ab /subst.c
parent278db80c368700ed6117fbd390c89a9b44c0240c (diff)
downloadbash-5.1-testing.tar.gz
Bash-5.1-rc3 releasebash-5.1-rc3bash-5.1-testing
Diffstat (limited to 'subst.c')
-rw-r--r--subst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/subst.c b/subst.c
index 915fd50b..9ccbf336 100644
--- a/subst.c
+++ b/subst.c
@@ -8820,12 +8820,12 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta
else
#if defined (CASEMOD_EXPANSIONS)
/* To enable case-toggling expansions using the `~' operator character
- define CASEMOD_CAPCASE in config-top.h */
-# if defined (CASEMOD_CAPCASE)
+ define CASEMOD_TOGGLECASE in config-top.h */
+# if defined (CASEMOD_TOGGLECASE)
name = string_extract (string, &t_index, "#%^,~:-=?+/@}", SX_VARNAME);
# else
name = string_extract (string, &t_index, "#%^,:-=?+/@}", SX_VARNAME);
-# endif /* CASEMOD_CAPCASE */
+# endif /* CASEMOD_TOGGLECASE */
#else
name = string_extract (string, &t_index, "#%:-=?+/@}", SX_VARNAME);
#endif /* CASEMOD_EXPANSIONS */