From: fred Date: Thu, 31 Oct 1996 14:58:40 +0000 (+0000) Subject: lilypond-0.0.6 X-Git-Tag: release/1.5.59~6999 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6e883a4bc186365007194e85e35583677d0371eb;p=lilypond.git lilypond-0.0.6 --- diff --git a/proto.hh b/proto.hh index ba93e7a526..268eda6b53 100644 --- a/proto.hh +++ b/proto.hh @@ -69,7 +69,6 @@ struct Staff_column; struct Staff; struct Command; struct Symbol; -struct Stretchable_symbol; struct Output; struct Text_gob; struct Voice; @@ -83,8 +82,9 @@ class Mixed_qp; class Paperdef; class Score_commands; class Parametric_symbol; - - +struct Lookup; +struct Symtables; +struct Symtable; #endif // PROTO_HH diff --git a/symbol.cc b/symbol.cc index d67049cefa..907f1d7282 100644 --- a/symbol.cc +++ b/symbol.cc @@ -30,6 +30,3 @@ Parametric_symbol::eval(String args1,String arg2)const return eval(a); } -Parametric_symbol::~Parametric_symbol() -{ -} diff --git a/symbol.hh b/symbol.hh index 6d6ed1acbe..4f26e04e66 100644 --- a/symbol.hh +++ b/symbol.hh @@ -2,6 +2,7 @@ #define SYMBOL_HH #include "string.hh" #include "boxes.hh" +#include "proto.hh" struct Symbol { String tex; @@ -12,11 +13,15 @@ struct Symbol { }; struct Parametric_symbol { + Symtables*symtables_; // indirection + + /*****************/ + Parametric_symbol(Symtables*s) { symtables_ = s; } Symbol eval(String args1) const; // convenience Symbol eval(String args1,String arg2) const; // convenience virtual Symbol eval(svec args)const =0; - virtual ~Parametric_symbol(); + virtual ~Parametric_symbol(){} }; #endif