Branch: Tag:

1999-03-07

1999-03-07 20:11:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

low_decode_type() now knows about int(x..y).

Rev: src/encode.c:1.28

24:   #include "stuff.h"   #include "version.h"    - RCSID("$Id: encode.c,v 1.27 1999/03/07 20:07:09 grubba Exp $"); + RCSID("$Id: encode.c,v 1.28 1999/03/07 20:11:04 grubba Exp $");      #ifdef _AIX   #include <net/nh.h>
180:    case T_INT:    {    int i; +  /* FIXME: I assume the type is saved in network byte order. Is it? +  * /grubba 1999-03-07 +  */    for(i = 0; i < 2*sizeof(INT32); i++) {    addchar(EXTRACT_UCHAR(t++));    }
628:    case T_NOT:    goto one_more_type;    +  case T_INT: +  { +  int i; +  /* FIXME: I assume the type is saved in network byte order. Is it? +  * /grubba 1999-03-07 +  */ +  for(i=0; i < 2*sizeof(INT32); i++) { +  push_type(GETC()); +  } +  } +  break; +     case '0':    case '1':    case '2':
638:    case '7':    case '8':    case '9': -  case T_INT: +     case T_FLOAT:    case T_STRING:    case T_PROGRAM: