* This file is part of Jam - see jam.c for Copyright information.
*/
# include <ctype.h>
# include "jam.h"
# include "debug.h"
# include "compile.h"
# include "native.h"
# include "variable.h"
# include "timestamp.h"
# include "modules/modules.h"
/*
* builtins.c - builtin jam rules
void backtrace( FRAME *frame );
void lol_build( LOL* lol, char** elements );
#endif
debug_compile( int which, char *s, FRAME* frame )
{
static int level = 0;
static char indent[36] = ">>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|";
static const char indent[36] = ">>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|";
if ( which >= 0 )
profile_total.memory += p->memory;
}
printf("%10d %10d %10d %12.6f %10d %10d %s\n",
p->num_entries, p->cumulative, p->net, q,
(int) p->num_entries, (int) p->cumulative, (int) p->net, q,
p->memory, mem_each,
(int) p->memory, (int) mem_each,
p->name);
int depth;
if( DEBUG_VAREXP )
printf( "expand '%.*s'\n", end - in, in );
printf( "expand '%.*s'\n", (int)(end - in), in );
/* This gets alot of cases: $(<) and $(>) */
hp->items.nel,
hp->tab.nel,
hp->items.nel * hp->items.size / 1024,
hp->tab.nel * sizeof( ITEM ** ) / 1024,
hp->tab.nel * (int)sizeof( ITEM ** ) / 1024,
(float)count / (float)sets );
# include "command.h"
# include "execcmd.h"
# include <stdlib.h>
#if defined(sun) || defined(__sun)
list_sublist( ns, start, chunk ),
list_new( L0, newstr( "%" ) ) );
printf( cmd->buf );
printf( "%s", cmd->buf );
exit( EXITBAD );
/* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */
#include "native.h"
#include "builtins.h"
#include "hash.h"
# define P0 (PARSE *)0
# include <stddef.h>
# include "newstr.h"
# include "hash.h"
* newstr.c - string manipulation routines
* timestamp.h - get the timestamp of a file or archive member
#include <time.h>
void timestamp( char *target, time_t *time );
void donestamps();