pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: main.c,v 1.47 1998/04/06 17:28:18 grubba Exp $"); + RCSID("$Id: main.c,v 1.48 1998/04/13 14:21:28 grubba Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"   #include "array.h"   #include "stralloc.h"   #include "interpret.h"
pike.git/src/main.c:40:   #endif         char *master_file;   char **ARGV;      int debug_options=0;   int d_flag=0;   int c_flag=0;   int t_flag=0; + int default_t_flag=0;   int a_flag=0;   int l_flag=0;   int p_flag=0; -  + #ifdef YYDEBUG + extern int yydebug; + #endif /* YYDEBUG */   static long instructions_left;      static void time_to_exit(struct callback *cb,void *tmp,void *ignored)   {    if(instructions_left-- < 0)    {    push_int(0);    f_exit(1);    }   }
pike.git/src/main.c:218:       case 'd':    more_d_flags:    switch(p[1])    {    case '0': case '1': case '2': case '3': case '4':    case '5': case '6': case '7': case '8': case '9':    d_flag+=STRTOL(p+1,&p,10);    break;    +  case 'c': +  p++; + #ifdef YYDEBUG +  yydebug++; + #endif /* YYDEBUG */ +  break; +     case 's':    debug_options|=DEBUG_SIGNALS;    p++;    d_flag--;    goto more_d_flags;       case 't':    debug_options|=NO_TAILRECURSION;    p++;    d_flag--;
pike.git/src/main.c:247:    a_flag+=STRTOL(p+1,&p,10);    else    a_flag++,p++;    break;       case 't':    if(p[1]>='0' && p[1]<='9')    t_flag+=STRTOL(p+1,&p,10);    else    t_flag++,p++; +  default_t_flag = t_flag;    break;       case 'p':    if(p[1]>='0' && p[1]<='9')    p_flag+=STRTOL(p+1,&p,10);    else    p_flag++,p++;    break;       case 'l':