From 1b5987cdb11253e2f399bfff72016af22bad9240 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 23 Sep 2015 21:40:34 +0000 Subject: unposted: Followup to 36586: Change C99 comment syntax to the C89 syntax. --- ChangeLog | 5 +++++ Src/Zle/compmatch.c | 4 ++-- 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 + + * unposted: Src/Zle/compmatch.c: Followup to 36586: Change C99 + comment syntax to the C89 syntax. + 2015-09-23 Mikael Magnusson * 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 || -- cgit 1.4.1