From 7285d520e00e110af2f150487fc0ccfaa8430684 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 24 Mar 2016 22:43:23 -0700 Subject: [PATCH] remove duplicated check for fractions and complex numbers (closes #26076) Patch by Oren Milman. --- Parser/tokenizer.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index c653121706b..006ad9ccc1b 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -1587,10 +1587,6 @@ tok_get(struct tok_state *tok, char **p_start, char **p_end) if (c == '0') { /* Hex, octal or binary -- maybe. */ c = tok_nextc(tok); - if (c == '.') - goto fraction; - if (c == 'j' || c == 'J') - goto imaginary; if (c == 'x' || c == 'X') { /* Hex */