summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/options.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ebfcfea66..9b026ff6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2012-10-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
+ * 30716: Src/options.c: IGNORECLOSEBRACES should be an emulation
+ option since it changes what syntax is valid.
+
* 30715: Src/init.c, Src/lex.c, Src/parse.c, Src/subst.c,
Src/zsh.h, Src/Zle/zle_tricky.c: use a named enum for
lexical tokens.
@@ -223,5 +226,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5734 $
+* $Revision: 1.5735 $
*****************************************************
diff --git a/Src/options.c b/Src/options.c
index 609c28fd1..6075a7fcb 100644
--- a/Src/options.c
+++ b/Src/options.c
@@ -160,7 +160,7 @@ static struct optname optns[] = {
{{NULL, "histverify", 0}, HISTVERIFY},
{{NULL, "hup", OPT_EMULATE|OPT_ZSH}, HUP},
{{NULL, "ignorebraces", OPT_EMULATE|OPT_SH}, IGNOREBRACES},
-{{NULL, "ignoreclosebraces", 0}, IGNORECLOSEBRACES},
+{{NULL, "ignoreclosebraces", OPT_EMULATE}, IGNORECLOSEBRACES},
{{NULL, "ignoreeof", 0}, IGNOREEOF},
{{NULL, "incappendhistory", 0}, INCAPPENDHISTORY},
{{NULL, "interactive", OPT_SPECIAL}, INTERACTIVE},