diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-12-07 01:57:40 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-12-07 01:57:40 +0100 |
commit | a0d154c3f87adff230093d1e57bff49c845231d1 (patch) | |
tree | f41fa38c22ed611d5435b67c0ae85a54bafd022e /src/mds-kbdc | |
parent | mds-kbdc: typo (diff) | |
download | mds-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 'src/mds-kbdc')
-rw-r--r-- | src/mds-kbdc/raw-data.c | 2 |
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. */ |