aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-07 01:57:40 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-07 01:57:40 +0100
commita0d154c3f87adff230093d1e57bff49c845231d1 (patch)
treef41fa38c22ed611d5435b67c0ae85a54bafd022e /src/mds-kbdc
parentmds-kbdc: typo (diff)
downloadmds-a0d154c3f87adff230093d1e57bff49c845231d1.tar.gz
mds-a0d154c3f87adff230093d1e57bff49c845231d1.tar.bz2
mds-a0d154c3f87adff230093d1e57bff49c845231d1.tar.xz
mds-kbdc: whoops, functions name may include digits
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-kbdc/raw-data.c2
1 files changed, 1 insertions, 1 deletions
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. */