Permalink
Browse files

Fix exponent parsing (thanks @BeLZeL)

  • Loading branch information...
James McLaughlin
James McLaughlin committed Mar 9, 2012
1 parent 389f3c3 commit dfa14bc9575411873202a5f159fa688e51e92518
Showing with 1 addition and 1 deletion.
  1. +1 −1 json.c
View
2 json.c
@@ -472,7 +472,7 @@ json_value * json_parse_ex (json_settings * settings, const json_char * json, ch
if (!new_value (&state, &top, &root, &alloc, json_integer))
goto e_alloc_failure;
- flags &= ~ flag_exponent | flag_got_exponent_sign;
+ flags &= ~ (flag_exponent | flag_got_exponent_sign);
if (state.first_pass)
continue;

0 comments on commit dfa14bc

Please sign in to comment.