Branch: Tag:

2002-11-19

2002-11-19 14:00:14 by Martin Stjernholm <mast@lysator.liu.se>

The subtype is seldom used for strings, and certainly not in
mkconstantsvaluenode.

Rev: src/las.c:1.242

5:   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.241 2002/11/18 19:21:39 mast Exp $"); + RCSID("$Id: las.c,v 1.242 2002/11/19 14:00:14 mast Exp $");      #include "language.h"   #include "interpret.h"
1758:    res->token = F_CONSTANT;    assign_svalue_no_free(& res->u.sval, s);   #ifdef SHARED_NODES -  if (s->type != T_INT && s->type != T_STRING && s->type != T_FUNCTION) +  if (s->type != T_INT && s->type != T_FUNCTION)    /* The subtype is part of the hash, so make sure it got a defined    * value here. */    res->u.sval.subtype = 0;