author | Thomas Rast <trast@student.ethz.ch> | |
Tue, 6 Dec 2011 16:35:08 +0000 (17:35 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 6 Dec 2011 21:16:37 +0000 (13:16 -0800) | ||
commit | 37e7793d473019eac69c347f1a79e3273567b9bf | |
tree | 787f815da06f1243830ad0863d33205d36afda79 | tree | snapshot |
parent | 87b50542a08ac6caa083ddc376e674424e37940a | commit | diff |
userdiff: allow * between cpp funcname words
The cpp pattern, used for C and C++, would not match the start of a
declaration such as
static char *prepare_index(int argc,
because it did not allow for * anywhere between the various words that
constitute the modifiers, type and function name. Fix it.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The cpp pattern, used for C and C++, would not match the start of a
declaration such as
static char *prepare_index(int argc,
because it did not allow for * anywhere between the various words that
constitute the modifiers, type and function name. Fix it.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
userdiff.c | diff | blob | history |