pike.git / lib / modules / Parser.pmod / Pike.pmod

version» Context lines:

pike.git/lib/modules/Parser.pmod/Pike.pmod:1:   //   // This file needs to support old pikes that e.g. don't understand   // "#pike". Some of them fail when they see an unknown cpp directive.   //   // #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";      #define UNKNOWN_TOKEN \    throw( ({sprintf("Unknown pike token: %O\n",data[pos..pos+20]) }) )      static mapping(string : int) backquoteops =   (["/":1,    "%":1,    "*":1,
pike.git/lib/modules/Parser.pmod/Pike.pmod:190:    while(data[pos]>='0' && data[pos]<='9') pos++;    if(data[pos]=='.' && data[pos+1]>='0' && data[pos+1]<='9')    {    pos++;    while(data[pos]>='0' && data[pos]<='9') pos++;    if(data[pos]=='e' || data[pos]=='E')    {    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:    UNKNOWN_TOKEN;       case '`':    {    int bqstart = pos;    while(data[pos]=='`')    ++pos;