about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/Zle/compmatch.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f948328a7..b92432044 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-23  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* unposted: Src/Zle/compmatch.c: Followup to 36586: Change C99
+	comment syntax to the C89 syntax.
+
 2015-09-23  Mikael Magnusson  <mikachu@gmail.com>
 
 	* Eric Cook: 36571: Completion/Linux/Command/_losetup,
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c
index 948144006..0e41ac3a5 100644
--- a/Src/Zle/compmatch.c
+++ b/Src/Zle/compmatch.c
@@ -820,11 +820,11 @@ match_str(char *l, char *w, Brinfo *bpp, int bc, int *rwlp,
 			    continue;
 			else if (mp->right)
 			    t = pattern_match(mp->right,
-					      //tl + mp->llen - mp->ralen,
+					      /* tl + mp->llen - mp->ralen, */
 					      tl + mp->llen,
 					      NULL, NULL) &&
 				pattern_match(mp->right,
-					      //tw + mp->wlen - mp->ralen,
+					      /* tw + mp->wlen - mp->ralen, */
 					      tw + mp->wlen,
 					      NULL, NULL) &&
 				(!mp->lalen ||