From 8cc96a35e532ef999e5a3739deeb44f51a80744b Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 30 Dec 2013 18:23:50 +0000 Subject: Put unicode functions in unicode.c, and tidy their names. --- py/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/parse.c') diff --git a/py/parse.c b/py/parse.c index ad9a47ffb..d3786ba95 100644 --- a/py/parse.c +++ b/py/parse.c @@ -212,7 +212,7 @@ static void push_result_token(parser_t *parser, const mp_lexer_t *lex) { } } for (; i < len; i++) { - if (g_unichar_isdigit(str[i]) && str[i] - '0' < base) { + if (unichar_isdigit(str[i]) && str[i] - '0' < base) { int_val = base * int_val + str[i] - '0'; } else if (base == 16 && 'a' <= str[i] && str[i] <= 'f') { int_val = base * int_val + str[i] - 'a' + 10; -- cgit v1.2.3