Branch: Tag:

1997-02-07

1997-02-07 01:06:12 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfixes

Rev: src/las.c:1.18

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: las.c,v 1.17 1997/01/31 23:07:16 hubbe Exp $"); + RCSID("$Id: las.c,v 1.18 1997/02/07 01:06:12 hubbe Exp $");      #include "language.h"   #include "interpret.h"
470:    case F_LOCAL:    yyerror("Expected constant, got local variable");    push_int(0); +  break;       case F_GLOBAL:    yyerror("Expected constant, got global variable");    push_int(0); -  +  break;    }    }   }
492:    UNSET_ONERROR(tmp);       yyerror("Couldn't index module."); -  push_svalue(0); +  push_int(0);    }else{    resolv_constant(n);    push_string(id);
652:      int is_const(node *n)   { +  if(!n) return 1;    return !(n->tree_info & (OPT_SIDE_EFFECT |    OPT_NOT_CONST |    OPT_ASSIGNMENT |