From: Han-Wen Nienhuys Date: Mon, 26 Aug 2002 12:23:56 +0000 (+0000) Subject: * lily/score.cc: remove paranoia code. X-Git-Tag: release/1.6.1~15 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=496bd75a23f0eacda709144a4da76c05cd0ec724;p=lilypond.git * lily/score.cc: remove paranoia code. * lily/parser.yy: don't include malloc.h --- diff --git a/ChangeLog b/ChangeLog index 29b58cc884..1a8328ef11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-08-26 Han-Wen Nienhuys + + * lily/score.cc: remove paranoia code. + + * lily/parser.yy: don't include malloc.h + 2002-08-25 Han-Wen Nienhuys * flower/polynomial.cc (operator +): optimize += operator. No diff --git a/lily/parser.yy b/lily/parser.yy index 73ad657154..32084a3e3e 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -111,7 +111,7 @@ set_music_properties (Music *p, SCM a) // needed for bison.simple's malloc () and free () -#include +// #include #include diff --git a/lily/score.cc b/lily/score.cc index 1c0956d857..e563c16789 100644 --- a/lily/score.cc +++ b/lily/score.cc @@ -71,28 +71,10 @@ Score::~Score () } -/* - should enable this to find weird mistakes? -*/ -#define PARANOIA - -#ifdef PARANOIA -#include -#endif void Score::run_translator (Music_output_def *odef) { -#ifdef PARANOIA - if (verbose_global_b) - { - struct rlimit rls; - - getrlimit (RLIMIT_STACK, &rls); - progress_indication (_f("stack size cur %d, max %d\n" ,rls.rlim_cur, rls.rlim_max)); - } -#endif - /* We want to know if we want to store locations, since they take a lot of overhead.