]> git.donarmstrong.com Git - lilypond.git/commitdiff
robustify.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 5 Aug 2002 12:19:47 +0000 (12:19 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 5 Aug 2002 12:19:47 +0000 (12:19 +0000)
ChangeLog
Documentation/user/lilypond-book.itely
Documentation/user/refman.itely
lily/include/lily-guile.hh
lily/main.cc
lily/parser.yy
stepmake/bin/make-version.py

index c5ee5239962e908a9ab0a53a872a60019dc97d9b..9c5ee4be914eeecac9b328023ab65fc1b8725c41 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2002-08-05  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
+       * stepmake/bin/make-version.py: robustify.
+
        * input/test/rhythm-excercise.ly: new file
 
        * input/test/blank-notes.ly: new file
index a26fc4628481e6b8410b784590633ce02aa652f8..b1a5d37eff0343e0b2591af62a723c0e784b7358 100644 (file)
@@ -8,14 +8,14 @@ TODO: cleanup
 
    Could also do with a cleanup.  Lost inspiration to fix this manual
    where to describe what?
-   
-
 
 @end ignore
 
 @c @node Merging text and music with lilypond-book
 @c @chapter Merging text and music with lilypond-book
 
+@c  fix this node name , this is too long.
+
 @node Insert music snippets into your texts using lilypond-book
 @chapter Insert music snippets into your texts using lilypond-book
 
index 7d7aa7c09b901dffdcc0bbc5721c17a0956b11d8..ef530ca8e4b1c5f47582afbf159b00aec5ce8978 100644 (file)
@@ -4435,10 +4435,11 @@ that case @code{interscoreline} specifies the minimum spacing.
 
 If the variable @code{lastpagefill} is defined (that is, it gets any
 value assigned in the @code{\paper} block), systems are evenly
-distributed vertically on the last page.  This might produce ugly results
-in case there are not enough systems on the last page.  Note that
-@command{lilypond-book} ignores @code{lastpagefill}.  See
-@ref{Merging text and music with lilypond-book} for more information.
+distributed vertically on the last page.  This might produce ugly
+results in case there are not enough systems on the last page.  Note
+that @command{lilypond-book} ignores @code{lastpagefill}.  See
+@ref{Insert music snippets into your texts using lilypond-book} for
+more information.
 
 @cindex @code{lastpagefill}
 
index 30ccc4cfb11bce872058fbed8353b4aa3de46b56..18ee25577ec5109e65776855cff74af05b834898 100644 (file)
@@ -128,7 +128,7 @@ SCM ly_truncate_list (int k, SCM l );
  SCM value = cached;  /* We store this one locally, since G++ -O2 fucks up else */   \
  if ( __builtin_constant_p ((x)))\
  {  if (!cached)\
-     value = cached =  scm_gc_protect_object (my_gh_symbol2scm((x)));\
+     value = cached =  scm_gc_protect_object (gh_symbol2scm((x)));\
  } else\
   value = gh_symbol2scm ((char*) (x)); \
   value; })
index 14fe9a452ccb46d8de9de112b94abbec49f33934..d0c12ef46e3ac64d9ab9b835acee926890040259 100644 (file)
@@ -10,7 +10,7 @@
 #include <stdio.h>
 #include <assert.h>
 #include <locale.h>
-#include <stdio.h>
+#include <string.h>
 
 #include "config.h"
 
index 5e4e1b6ebffab77880e861a182cd1c1e69cc4b7c..73e7d917214717c3d17a101648a237433d672629 100644 (file)
@@ -25,8 +25,6 @@ this.
 
 #include <ctype.h>
 
-//#include <iostream>
-
 #include "translator-def.hh"
 #include "lily-guile.hh"
 #include "change-iterator.hh"
index 9f4a3f46a3b115afdc795c8fbffb2420025a97a9..3c7089db81f6fb0ccac8c409c8f5f2225b215616 100644 (file)
@@ -18,12 +18,27 @@ for l in ls:
                defs.append ((m.group(1), m.group(2)))
 
 
-sys.stdout.write ('/* automatically generated */')
+sys.stdout.write (r'''
+#ifndef VERSION_HH
+#define VERSION_HH
+/* automatically generated */
+
+
+''')
 for d in defs:
-       sys.stdout.write ('#define %s \"%s\"\n' % d)
+
+       # GUILE leaks autoconf data into userspace. 
+       sys.stdout.write ('#ifdef %s\n' % d[0])
+       sys.stdout.write ('#undef %s\n' % d[0])
+       sys.stdout.write ('#endif /* %s */\n' % d[0])           
+       
+       sys.stdout.write ('#define %s "%s"\n' % d)
+       
 
 if ('MY_PATCH_LEVEL', '') in defs:
        sys.stdout.write ('#define NO_MY_PATCHLEVEL')
 
-sys.stdout.write('\n');
+sys.stdout.write(r'''
+#endif
+''')