Branch: Tag:

2014-12-04

2014-12-04 19:24:11 by Arne Goedeke <el@laramies.com>

block_allocator: fixed --with-debug

534:   #endif    ba_walk(&Pike_compiler->node_allocator, &node_walker, NULL);   #ifdef PIKE_DEBUG -  if(!cumulative_parse_error) -  Pike_fatal("Failed to free %"PRINTSIZET"d nodes when compiling!\n",e); +  if(!cumulative_parse_error) { +  size_t n, s; +  ba_count_all(&Pike_compiler->node_allocator, &n, &s); +  if (n) +  Pike_fatal("Failed to free %"PRINTSIZET"d nodes when compiling!\n",n); +  }   #else    }   #endif