pike.git / src / las.c

version» Context lines:

pike.git/src/las.c:3160:   #endif    return name;   }      void fix_type_field(node *n)   {    struct compilation *c = THIS_COMPILATION;    struct pike_type *type_a, *type_b;    struct pike_type *old_type;    -  if (n->type && !(n->node_info & OPT_TYPE_NOT_FIXED)) +  if (!n || (n->type && !(n->node_info & OPT_TYPE_NOT_FIXED)))    return; /* assume it is correct */       old_type = n->type;    n->type = 0;    n->node_info &= ~OPT_TYPE_NOT_FIXED;       /*    These two are needed if we want to extract types    from nodes while building the tree.    */