]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/parser.yy (pre_events): remove prefix articulations.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 21 Aug 2003 17:35:46 +0000 (17:35 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 21 Aug 2003 17:35:46 +0000 (17:35 +0000)
* Documentation/user/refman.itely (Text markup): add comment about
markup in header.

Documentation/user/refman.itely
lily/parser.yy

index 8f8851b01d729c51faee53a694a84702badadd8a..4f798307e994e12d5db963347ed8433007e5bcc5 100644 (file)
@@ -1947,6 +1947,10 @@ articulation. They are demonstrated here:
 
 @lilypondfile[notexidoc]{script-abbreviations.ly}
 
+The meanings of these shorthands can be changed: see
+@file{ly/script-init.ly} for examples.
+
+
 The script is automatically placed, but if you need to force
 directions, you can use @code{_} to force them down, or @code{^} to
 put them up:
@@ -1954,9 +1958,6 @@ put them up:
   c''4^^ c''4_^
 @end lilypond
 
-
-
-
 Other symbols can be added using the syntax
 @var{note}@code{-\}@var{name}, e.g. @code{c4-\fermata}. Again, they
 can be forced up or down using @code{^} and @code{_}:
index 4fa67c105c3006a143b902baf3554410a193ee6e..249bdbbe6e93334f669fd6ea116774933c233005 100644 (file)
@@ -1245,7 +1245,9 @@ nevertheless, this is not very clean, and we should find a different
 solution.  
 
 */
-pre_events:
+pre_events: {
+               THIS->push_spot ();
+       }
        ;
 
 event_chord:
@@ -1501,6 +1503,17 @@ event_that_take_dir:
        | close_event
        | open_event
        | '['  {
+
+
+/*
+
+TODO: should take all these defs out of the parser, adn make use
+configurable, i.e.
+
+
+(set-articulation '~ "trill")
+
+*/
                Music * m = MY_MAKE_MUSIC ("NewBeamEvent");
                m->set_spot (THIS->here_input());
                m->set_mus_property ("span-direction" , gh_int2scm (START));
@@ -2119,6 +2132,8 @@ step_number:
  */
 number_expression:
        number_expression '+' number_term {
+
+               THIS->
                $$ = scm_sum ($1, $3);
        }
        | number_expression '-' number_term {