uint RegExp::fixedLength()
{
- return ~0;
+ return ~0u;
}
const char *NullOp::type = "NullOp";
uint l2 = exp1->fixedLength();
if (l1 != l2 || l1 == ~0u)
- return ~0;
+ return ~0u;
return l1;
}
if (s.len < 2)
{
fatal(s.ofs()+s.len, "Illegal hexadecimal character code, two hexadecimal digits are required");
- return ~0;
+ return ~0u;
}
const char *p1 = strchr(hex, tolower(s.str[0]));
if (!p1 || !p2)
{
fatal(s.ofs()+(p1?1:0), "Illegal hexadecimal character code");
- return ~0;
+ return ~0u;
}
else
{
if (s.len < 8)
{
fatal(s.ofs()+s.len, "Illegal unicode character, eight hexadecimal digits are required");
- return ~0;
+ return ~0u;
}
uint l = 0;
c == 'X'
? "Illegal hexadecimal character code, four hexadecimal digits are required"
: "Illegal unicode character, four hexadecimal digits are required");
- return ~0;
+ return ~0u;
}
const char *p1 = strchr(hex, tolower(s.str[0]));
c == 'X'
? "Illegal hexadecimal character code, non hexxdecimal digit found"
: "Illegal unicode character, non hexadecimal digit found");
- return ~0;
+ return ~0u;
}
else
{
case '7':
{
fatal(s.ofs()-1, "Illegal octal character code, first digit must be 0 thru 3");
- return ~0;
+ return ~0u;
}
case '0':
if (s.len < 2)
{
fatal(s.ofs()+s.len, "Illegal octal character code, three octal digits are required");
- return ~0;
+ return ~0u;
}
const char *p0 = strchr(oct, c);
if (!p0 || !p1 || !p2)
{
fatal(s.ofs()+(p1?1:0), "Illegal octal character code, non octal digit found");
- return ~0;
+ return ~0u;
}
else
{