From a0d154c3f87adff230093d1e57bff49c845231d1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 7 Dec 2014 01:57:40 +0100 Subject: mds-kbdc: whoops, functions name may include digits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-kbdc/raw-data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mds-kbdc/raw-data.c b/src/mds-kbdc/raw-data.c index 611dc71..7869bc0 100644 --- a/src/mds-kbdc/raw-data.c +++ b/src/mds-kbdc/raw-data.c @@ -176,7 +176,7 @@ size_t get_end_of_call(char* restrict content, size_t offset, size_t size) int escape = 0, quote = 0; /* Skip to end of function name. */ - while ((ptr < size) && (r('a', 'z') || r('A', 'Z') || (C == '_'))) + while ((ptr < size) && (r('a', 'z') || r('A', 'Z') || r('0', '9') || (C == '_'))) ptr++; /* Check that it is a function call. */ -- cgit v1.2.3-70-g09d2