]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.73pre
authorfred <fred>
Sun, 24 Mar 2002 19:46:55 +0000 (19:46 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:46:55 +0000 (19:46 +0000)
lily/include/global-translator.hh

index ce34cfb52751b7d655fd4366b06c254fe8816624..877020b10d462a0b5c7b7cb187338222e96ccd24 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  global-acceptor.hh -- declare Global_acceptor
+  global-translator.hh -- declare Global_translator
 
   source file of the GNU LilyPond music typesetter
 
@@ -7,10 +7,10 @@
 */
 
 
-#ifndef GLOBAL_ACCEPTOR_HH
-#define GLOBAL_ACCEPTOR_HH
+#ifndef GLOBAL_TRANSLATOR_HH
+#define GLOBAL_TRANSLATOR_HH
 
-#include "acceptor.hh"
+#include "translator.hh"
 #include "pqueue.hh"
 
 class Global_translator : public virtual Translator {
@@ -29,6 +29,7 @@ public:
     virtual void finish() {}
     
 protected:
+    virtual Global_translator *global_l() { return this; }
     virtual int depth_i() const;
     virtual Translator *ancestor_l(int);
 };