]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/score.cc: remove paranoia code.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 26 Aug 2002 12:23:56 +0000 (12:23 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 26 Aug 2002 12:23:56 +0000 (12:23 +0000)
* lily/parser.yy: don't include malloc.h

ChangeLog
lily/parser.yy
lily/score.cc

index 29b58cc8847a52cbd1dc965243ef1303396184b8..1a8328ef11803b8840c6f0047e2c82a78430b989 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-26  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+
+       * lily/score.cc: remove paranoia code.
+
+       * lily/parser.yy: don't include malloc.h
+
 2002-08-25  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
        * flower/polynomial.cc (operator +): optimize += operator. No
index 73ad657154eb22d02f72af93544190a8a4a38db1..32084a3e3e4461ad7b69a1a45769f7ee966ed243 100644 (file)
@@ -111,7 +111,7 @@ set_music_properties (Music *p, SCM a)
 
 // needed for bison.simple's malloc () and free ()
 
-#include <malloc.h>
+// #include <malloc.h>
 #include <stdlib.h>
 
 
index 1c0956d8572fc77f7e6c2e20214ee56bc6bf836d..e563c1678951a565a18e932e23c6c750fcbcd406 100644 (file)
@@ -71,28 +71,10 @@ Score::~Score ()
 }
 
 
-/*
-  should enable  this to find weird mistakes? 
-*/
-#define PARANOIA
-
-#ifdef PARANOIA
-#include <sys/resource.h>
-#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.