about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-10-05 21:42:59 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-10-05 21:42:59 +0000
commit76ac7bf74265440be6177c060fe72a074caa6d4f (patch)
tree18fabccb4adb924fe212ab49e36ae2b82a7b11d2
parenteb562c9f2c8af43957b023325119d912fa3897b3 (diff)
downloadzsh-76ac7bf74265440be6177c060fe72a074caa6d4f.tar.gz
zsh-76ac7bf74265440be6177c060fe72a074caa6d4f.tar.xz
zsh-76ac7bf74265440be6177c060fe72a074caa6d4f.zip
30716: make IGNORECLOSEBRACES an emulation option
-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},