lilypond-devel
[Top][All Lists]
Advanced

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

PropertySet with unbound value


From: Dan Eble
Subject: PropertySet with unbound value
Date: Thu, 30 Jan 2020 16:34:06 -0500

Does anyone have an idea of input I could provide to reach the block with the 
TODO below?  I've tried 

    #(make-music 'PropertySet 'symbol 'fingeringOrientations)

(note that no value is defined), but it wasn't enough.  TIA.

    void
    Context::set_property_from_event (SCM sev)
    {
      Stream_event *ev = unsmob<Stream_event> (sev);

      SCM sym = ev->get_property ("symbol");
      if (scm_is_symbol (sym))
        {
          SCM val = ev->get_property ("value");

          if (SCM_UNBNDP (val)) {
            // TODO: It looks like this ignores \once.
            // Should this be unset_property_from event (sev)?
            unset_property (sym);
            return;
          }
    ...
— 
Dan




reply via email to

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