diff --git a/source/compiler/sc6.c b/source/compiler/sc6.c index 9007477..207417b 100644 --- a/source/compiler/sc6.c +++ b/source/compiler/sc6.c @@ -75,7 +75,7 @@ static ucell hex2long(const char *s,char **n) s++; } /* if */ - assert((*s>='0' && *s<='9') || (*s>='a' && *s<='f') || (*s>='a' && *s<='f')); + assert((*s>='0' && *s<='9') || (*s>='a' && *s<='f') || (*s>='A' && *s<='F')); for ( ;; ) { if (*s>='0' && *s<='9') digit=*s-'0';