lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tablature - my 1.6 proposal


From: Rune Zedeler
Subject: Re: Tablature - my 1.6 proposal
Date: Sat, 07 Sep 2002 17:27:52 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

Han-Wen Nienhuys wrote:

I committed the \5 stuff into CVS.

Whoops, yes you did.
Well, problem is that one needs more than 9 strings on some instruments.
I was able to produce this ugly thing:

        E_DIGIT  {
                String_number_req* s = new String_number_req;
                s->set_mus_property ("string-number",  gh_int2scm($1));
                s->set_spot (THIS->here_input ());
                $$ = s;
        }
        | E_DIGIT DIGIT {
                String_number_req* s = new String_number_req;
                s->set_mus_property ("string-number",  gh_int2scm($1*10+$2));
                s->set_spot (THIS->here_input ());
                $$ = s;
        }

But I could not do it in a clean way (i.e. scan an escaped bare unsigned)


-Rune





reply via email to

[Prev in Thread] Current Thread [Next in Thread]