Branch: Tag:

1996-09-24

1996-09-24 23:46:53 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

isspace -> ISSPACE, subtype=-1 -> subtype=USHRT_MAX

Rev: src/array.c:1.2
Rev: src/builtin_functions.c:1.3
Rev: src/configure.in:1.4
Rev: src/constants.c:1.2
Rev: src/docode.c:1.2
Rev: src/interpret.c:1.3
Rev: src/las.c:1.3
Rev: src/lex.c:1.3
Rev: src/machine.h.in:1.3
Rev: src/pike_types.c:1.2
Rev: src/port.c:1.3
Rev: src/port.h:1.5
Rev: src/signal_handler.c:1.3
Rev: src/svalue.c:1.2
Rev: src/svalue.h:1.3
Rev: src/types.h:1.3

319:    if(p &&    (int)p->num_constants > (int)(n-F_MAX_OPCODE) &&    p->constants[n-F_MAX_OPCODE].type==T_FUNCTION && -  (p->constants[n-F_MAX_OPCODE].subtype == -1) && +  (p->constants[n-F_MAX_OPCODE].subtype == FUNCTION_BUILTIN) &&    p->constants[n-F_MAX_OPCODE].u.efun)    {    return p->constants[n-F_MAX_OPCODE].u.efun->name->str;
343:    if(fp && fp->context.prog &&    (int)fp->context.prog->num_constants > (int)(n-F_MAX_OPCODE) &&    fp->context.prog->constants[n-F_MAX_OPCODE].type==T_FUNCTION && -  (short)fp->context.prog->constants[n-F_MAX_OPCODE].subtype == -1 && +  fp->context.prog->constants[n-F_MAX_OPCODE].subtype == FUNCTION_BUILTIN &&    fp->context.prog->constants[n-F_MAX_OPCODE].u.efun)    {    return fp->context.prog->constants[n-F_MAX_OPCODE].u.efun->name->str;
677:   }      #define LOOK() (istate->look()) - #define SKIPWHITE() { int c; while(isspace(c=GETC())); UNGETC(c); } + #define SKIPWHITE() { int c; while(ISSPACE(c=GETC())); UNGETC(c); }   #define SKIPTO(X) { int c; while((c=GETC())!=(X) && (c!=MY_EOF)); }   #define SKIPUPTO(X) { int c; while((c=GETC())!=(X) && (c!=MY_EOF)); UNGETC(c); }   #define READBUF(X) { \
903:    {    SKIPWHITE();    }else{ -  do { e=GETC(); }while(isspace(e) && e!='\n'); +  do { e=GETC(); }while(ISSPACE(e) && e!='\n');    UNGETC(e);    }   
1113:    READBUF(C!='\n');    if(buf[0]=='"' &&    buf[strlen(buf)-1]=='2' && -  isspace(buf[strlen(buf)-2])) +  ISSPACE(buf[strlen(buf)-2]))    {    if(lvl)    {