diff options
Diffstat (limited to 'py/parse.c')
-rw-r--r-- | py/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/parse.c b/py/parse.c index eaf362c0c..632ac4e4f 100644 --- a/py/parse.c +++ b/py/parse.c @@ -218,7 +218,7 @@ static void push_result_token(parser_t *parser, const py_lexer_t *lex) { int_val = base * int_val + str[i] - 'a' + 10; } else if (base == 16 && 'F' <= str[i] && str[i] <= 'F') { int_val = base * int_val + str[i] - 'A' + 10; - } else if (str[i] == '.' || str[i] == 'e' || str[i] == 'E') { + } else if (str[i] == '.' || str[i] == 'e' || str[i] == 'E' || str[i] == 'j' || str[i] == 'J') { dec = true; break; } else { |