Changeset 1065dd4 for lib/json.c
- Timestamp:
- 2015-01-17T20:00:49Z (9 years ago)
- Branches:
- master
- Children:
- eb4ad8d
- Parents:
- bc7a0d4 (diff), 6b13103 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/json.c
rbc7a0d4 r1065dd4 53 53 static unsigned char hex_value (json_char c) 54 54 { 55 if ( isdigit(c))55 if (g_ascii_isdigit(c)) 56 56 return c - '0'; 57 57 … … 609 609 default: 610 610 611 if ( isdigit (b) || b == '-')611 if (g_ascii_isdigit (b) || b == '-') 612 612 { 613 613 if (!new_value (&state, &top, &root, &alloc, json_integer)) … … 616 616 if (!state.first_pass) 617 617 { 618 while ( isdigit (b) || b == '+' || b == '-'618 while (g_ascii_isdigit (b) || b == '+' || b == '-' 619 619 || b == 'e' || b == 'E' || b == '.') 620 620 { … … 706 706 case json_double: 707 707 708 if ( isdigit (b))708 if (g_ascii_isdigit (b)) 709 709 { 710 710 ++ num_digits;
Note: See TracChangeset
for help on using the changeset viewer.