Branch: Tag:

2002-06-07

2002-06-07 14:17:38 by Martin Nilsson <mani@lysator.liu.se>

Fixed an error parsing floats of the type xey and xEy.

Rev: lib/modules/Parser.pmod/C.pmod:1.30
Rev: lib/modules/Parser.pmod/Pike.pmod:1.20

4:   //   // #pike __REAL_VERSION__   // - // $Id: Pike.pmod,v 1.19 2002/04/02 16:29:46 nilsson Exp $ + // $Id: Pike.pmod,v 1.20 2002/06/07 14:17:38 nilsson Exp $      inherit "C.pmod";   
197:    pos++;    while(data[pos]>='0' && data[pos]<='9') pos++;    } +  break;    } -  +  if( (data[pos]=='e' || data[pos]=='E') && +  data[pos+1]>='0' && data[pos+1]<='9' ) +  { +  pos++; +  while(data[pos]>='0' && data[pos]<='9') pos++; +  }    break;       default: