Pig: Migrated to unicodeHexDigit

This commit is contained in:
Paul Beckingham 2016-01-14 22:16:42 -05:00
parent 8cb080d474
commit 323fdcf44b

View file

@ -234,7 +234,7 @@ bool Pig::getHexDigit (int& result)
{ {
int c = _text[_cursor]; int c = _text[_cursor];
if (c && if (c &&
Lexer::isHexDigit (c)) unicodeHexDigit (c))
{ {
if (c >= '0' && c <= '9') if (c >= '0' && c <= '9')
{ {