summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-09-23 21:40:34 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-09-23 21:41:13 +0000
commit1b5987cdb11253e2f399bfff72016af22bad9240 (patch)
tree02272c29f539fb972c3e8e159cb3c013e04b0690
parent002d68525c9de1230565d1a1c317996635d39172 (diff)
downloadzsh-1b5987cdb11253e2f399bfff72016af22bad9240.tar.gz
zsh-1b5987cdb11253e2f399bfff72016af22bad9240.zip
unposted: Followup to 36586: Change C99 comment syntax to the C89 syntax.
-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 ||