diff --git a/src/gmio_stl/stla_read.c b/src/gmio_stl/stla_read.c index b46e262..4beb7a8 100644 --- a/src/gmio_stl/stla_read.c +++ b/src/gmio_stl/stla_read.c @@ -73,8 +73,8 @@ typedef enum ENDLOOP_token, ENDSOLID_token, FACET_token, - FLOAT_token, ID_token, + FLOAT_token = ID_token, LOOP_token, NORMAL_token, OUTER_token, @@ -144,13 +144,6 @@ static gmio_stla_token_t parsing_find_token(const gmio_ascii_string_buffer_t* st if (word_len == 0) return empty_token; - /* Try to guess if it's a float */ - if ((word[0] == '+' || word[0] == '-' || isdigit(word[0])) - && isdigit(word[word_len - 1])) - { - return FLOAT_token; - } - /* Try to find non "endXxx" token */ if (word_len >= 4) { switch (word[0]) {