]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/swallow-engraver.cc
Thinko: compare abs of both positions.
[lilypond.git] / lily / swallow-engraver.cc
index 43fab996870d7ec4d970eca0f02b102e4d3d0b61..7d0c851ab0627d80090556a7c024725b3582238c 100644 (file)
@@ -1,27 +1,23 @@
 /*
-  swallow-reg.cc -- implement Swallow_engraver
+  swallow-engraver.cc -- implement Swallow_engraver
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "engraver.hh"
 
-/**
- */
 class Swallow_engraver : public Engraver
 {
 public:
   TRANSLATOR_DECLARATIONS (Swallow_engraver);
 protected:
-  bool try_music (Music*) ;
+  bool try_music (Music *);
 };
 
-
-
 bool
-Swallow_engraver::try_music (Music*) 
+Swallow_engraver::try_music (Music *)
 {
   return true;
 }
@@ -30,11 +26,11 @@ Swallow_engraver::Swallow_engraver ()
 {
 }
 
+#include "translator.icc"
+
 ADD_TRANSLATOR (Swallow_engraver,
-/* descr */       "This engraver swallows everything given to it silently. The purpose of "
-                 "this is to prevent spurious \"event junked\" warnings.",
-/* creats*/       "",
-/* accepts */     "general-music",
-/* acks  */       "",
-/* reads */       "",
-/* write */       "");
+               /* doc */ "This engraver swallows everything given to it silently. The purpose of "
+               "this is to prevent spurious \"event junked\" warnings.",
+               /* create */ "",
+               /* read */ "",
+               /* write */ "");