summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index a009def..a0f7955 100644
--- a/parser.c
+++ b/parser.c
@@ -257,7 +257,7 @@ static struct symbol *qmi_identifier_parse(char *buf, size_t size, char ch)
/* Used for parsing octal numbers */
static int isodigit(int c)
{
- return isdigit(c) && c < '9';
+ return isdigit(c) && c < '8';
}
/* Extract a number from input into the given buffer; return base */