fixed oopsy when parsing float words

This commit is contained in:
Matt Wells 2013-11-08 16:25:23 -08:00
parent 09f28b2f26
commit aa9a77674f

View File

@ -428,7 +428,8 @@ bool Words::addWords(char *s,long nodeLen,bool computeWordIds, long niceness) {
if ( s[i] == ',' &&
is_digit(s[i+1]) &&
is_digit(s[i+2]) &&
is_digit(s[i+3]) ) {
is_digit(s[i+3]) &&
! is_digit(s[i+4]) ) {
i += 4;
goto subloop;
}