/[bison]/bison/src/main.c
ViewVC logotype

Diff of /bison/src/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.62 by akim, Tue Jul 30 08:15:04 2002 UTC revision 1.63 by akim, Wed Jul 31 19:49:52 2002 UTC
# Line 48  char *program_name; Line 48  char *program_name;
48  | Tracking space and time.  |  | Tracking space and time.  |
49  `--------------------------*/  `--------------------------*/
50    
 #if HAVE_MALLOC_H & HAVE_SYS_TIMES_H  
 # include <malloc.h>  
 # include <sys/times.h>  
 #endif  
   
51  static void  static void
52  stage (const char *title)  stage (const char *title)
53  {  {
54  #if HAVE_MALLOC_H & HAVE_SYS_TIMES_H  #if HAVE_MALLINFO && HAVE_STRUCT_MALLINFO & HAVE_TIMES & HAVE_STRUCT_TMS
55    if (trace_flag)    if (trace_flag & trace_resource)
56      {      {
57        struct mallinfo minfo = mallinfo ();        struct mallinfo minfo = mallinfo ();
58        struct tms tinfo;        struct tms tinfo;
# Line 81  main (int argc, char *argv[]) Line 76  main (int argc, char *argv[])
76    
77    getargs (argc, argv);    getargs (argc, argv);
78    
79    if (trace_flag)    if (trace_flag & trace_bitsets)
80      bitset_stats_enable ();      bitset_stats_enable ();
81    
82    muscle_init ();    muscle_init ();
# Line 171  main (int argc, char *argv[]) Line 166  main (int argc, char *argv[])
166    alloca (0);    alloca (0);
167  #endif  #endif
168    
169    if (trace_flag)    if (trace_flag & trace_bitsets)
170      bitset_stats_dump (stderr);      bitset_stats_dump (stderr);
171    
172    return complain_message_count ? EXIT_FAILURE : EXIT_SUCCESS;    return complain_message_count ? EXIT_FAILURE : EXIT_SUCCESS;

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26