# HG changeset patch # User Thinker K.F. Li # Date 1221325403 -28800 # Node ID abb5511c23f7916b6aec40109676098bc012b831 # Parent 8feb89b1961916bb919605bb2a206923a3b394aa Accept exponent of float point diff -r 8feb89b19619 -r abb5511c23f7 src/shape_path.c --- a/src/shape_path.c Fri Sep 12 23:43:11 2008 +0800 +++ b/src/shape_path.c Sun Sep 14 01:03:23 2008 +0800 @@ -30,6 +30,8 @@ #define SKIP_NUM(x) \ while(*(x) && \ (isdigit(*(x)) || \ + *(x) == 'e' || \ + *(x) == 'E' || \ *(x) == '-' || \ *(x) == '+' || \ *(x) == '.')) { \