pike.git / src / las.c

version» Context lines:

pike.git/src/las.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.232 2001/01/18 02:18:27 hubbe Exp $"); + RCSID("$Id: las.c,v 1.233 2001/02/09 10:29:54 hubbe Exp $");      #include "language.h"   #include "interpret.h"   #include "las.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "lex.h"   #include "pike_types.h"
pike.git/src/las.c:340:    free_string(b);    return res;    }    free_string(b);    }    return a;    }    return b;   }    + int check_tailrecursion(void) + { +  int e; +  if(debug_options & NO_TAILRECURSION) return 0; +  for(e=0;e<Pike_compiler->compiler_frame->max_number_of_locals;e++) +  { +  if(!pike_type_allow_premature_toss( +  Pike_compiler->compiler_frame->variable[e].type->str)) +  return 0; +  } +  return 1; + }    -  +    #define NODES 128 /* 256 */      #undef BLOCK_ALLOC_NEXT   #define BLOCK_ALLOC_NEXT u.node.a      BLOCK_ALLOC(node_s, NODES)      #undef BLOCK_ALLOC_NEXT   #define BLOCK_ALLOC_NEXT next