Branch: Tag:

1995-10-20

1995-10-20 08:43:12 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

committing

Rev: src/language.y:1.5
Rev: src/las.c:1.4
Rev: src/lex.c:1.4
Rev: src/lex.h:1.3
Rev: src/lpc_types.c:1.5
Rev: src/program.c:1.5
Rev: src/stralloc.c:1.4
Rev: src/svalue.h:1.3

311:    }   }    + char *get_token_name(int n) + { +  static char buf[30]; +  if (n<F_MAX_INSTR && instrs[n-F_OFFSET].name) +  { +  return instrs[n-F_OFFSET].name; +  }else{ +  sprintf(buf, "<OTHER %d>", n); +  return buf; +  } + } +    /* foo must be a shared string */   static int lookup_resword(struct lpc_string *s)   {