From df91d866257eefa6216b3169f549ef0fac6d36a0 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 5 Nov 1996 16:28:39 +0000 Subject: [PATCH] lilypond-0.0.8 --- lookupsyms.cc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/lookupsyms.cc b/lookupsyms.cc index 294f2e9af4..e6ad52ca5a 100644 --- a/lookupsyms.cc +++ b/lookupsyms.cc @@ -3,6 +3,7 @@ #include "symtable.hh" #include "dimen.hh" #include "tex.hh" + void Lookup::parse(Text_db&t) { @@ -55,6 +56,29 @@ Lookup::flag(int j) return (*symtables_)("flags")->lookup(j); } +Symbol +Lookup::streepjes(int i) +{ + assert(i); + + int arg; + String idx ; + if (i<0) { + idx = "botlines"; + arg = -i; + }else { + arg = i; + idx = "toplines"; + } + Symbol ret = (*symtables_)("streepjes")->lookup(idx); + + svec a; + a.add(arg); + ret.tex = substitute_args(ret.tex, a); + + return ret; +} + /****************************************************************/ // bare bones. -- 2.39.5