From: fred Date: Sun, 24 Mar 2002 19:46:55 +0000 (+0000) Subject: lilypond-0.0.73pre X-Git-Tag: release/1.5.59~4522 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=23aed0c58c11a3a480321d3bd99601bbf35d97f5;p=lilypond.git lilypond-0.0.73pre --- diff --git a/lily/include/global-translator.hh b/lily/include/global-translator.hh index ce34cfb527..877020b10d 100644 --- a/lily/include/global-translator.hh +++ b/lily/include/global-translator.hh @@ -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); };