Hi Christian and Bram,
2015-11-6(Fri) 19:55:44 UTC+9 h_east:
> Hi Christian!
>
> 2015-11-6(Fri) 17:28:03 UTC+9 Christian Brabandt:
> > Bram,
> > here is another one (possibly).
> >
> > https://github.com/neovim/neovim/pull/3614
> >
> > Not sure, if this is correct, I ported it to vim, but it didn't seem to
> > have any effect.
> >
> > If anybody has a test case1, that works, I'd like to hear so I can port
> > it to vim and add a test.
> >
> > 1) I tried with the example provided in the pull request, but it didn't
> > seem to work. Perhaps I missed something.
>
> I will investigate it from back home tonight.
> (Now Japan time is about 20:00)
I got it yeah!
I attached a patch with test.
Please include this.
And I want to include following patch.
https://groups.google.com/d/msg/vim_dev/uI-Iz-6H_7s/DxxCUVXfCgAJ
To> James McCoy
Please do something reaction this.
Thanks.
--
Best Regards,
Hirohito Higashi (a.k.a h_east)
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/misc1.c b/src/misc1.c
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -6246,6 +6246,10 @@
if (cin_ispreproc(s))
return FALSE;
+ s = skipwhite(s);
+ if (*s && *s == ':' && *(s+1) && *(s+1) != ':')
+ return FALSE;
+
while (*s && *s != '(' && *s != ';' && *s != '\'' && *s != '"')
{
if (cin_iscomment(s)) /* ignore comments */
diff --git a/src/testdir/test3.in b/src/testdir/test3.in
--- a/src/testdir/test3.in
+++ b/src/testdir/test3.in
@@ -959,6 +959,13 @@
}
}
+// comment
+A::A(int a, int b)
+: aa(a),
+bb(b),
+cc(c)
+{}
+
/* end of AUTO */
STARTTEST
diff --git a/src/testdir/test3.ok b/src/testdir/test3.ok
--- a/src/testdir/test3.ok
+++ b/src/testdir/test3.ok
@@ -947,6 +947,13 @@
}
}
+// comment
+A::A(int a, int b)
+ : aa(a),
+ bb(b),
+ cc(c)
+{}
+
/* end of AUTO */