Re: Trying to use xfuncname without success.
- From
René Scharfe <l.s.r@web.de>
- Date
- Feb 10, 2017, 17:24 UTC
- Message-ID
- <4ff5b2ac-d752-b7e4-8b32-8a5dd6c5b3bb@web.de>
- In-Reply-To
- <CAKepmai0NbQmZ-8KCm71qh4cBd9HOzVD1M87TAMhGPYaH1HsHA@mail.gmail.com>
Am 09.02.2017 um 01:10 schrieb Jack Adrian Zappa:
Show 5 quoted lines
>> where it has grabbed a line at 126 and is using that for the hunk header. > > When I say that, I mean that it is using that line for *every* hunk > header, for every change, regardless if it has passed a hunk head that > it should have matched.
Strange. That should only happen if no other function lines are recognized before the changes. You can check if that's the case using git grep and your xfuncline regex, e.g. like this:
$ git grep -En "^[\t ]*<Type[\t ]+Name=\"([^\"]+)\".*$" *.natvis
And you can check *that* result with regular grep -E or egrep if it looks funny.
René