]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.28
authorfred <fred>
Sun, 24 Mar 2002 19:30:35 +0000 (19:30 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:30:35 +0000 (19:30 +0000)
src/parser.y

index 8d6ac75f0c2cdbe32816f3b0896e6fbc0cda5db0..3f01afb423c8ca44d8e2d0cb5ab0178ac1af039a 100644 (file)
@@ -19,7 +19,7 @@
 #endif
 
 Array<Request*> pre_reqs, post_reqs;
-sstack<String> define_spots;
+sstack<const char *> define_spots;
 Paperdef*default_paper();
 char const* defined_ch_c_l;
 char const* req_defined_ch_c_l;
@@ -195,10 +195,10 @@ notename_tab_body:                                {
        SCORE
 */
 score_block: SCORE 
-               { define_spots.push(lexer->spot()); }
+               { define_spots.push(lexer->here_ch_c_l()); }
        '{' score_body '}'      {
                $$ = $4;
-               $$->define_spot_str_ = define_spots.pop();
+               $$->defined_ch_c_l_ = define_spots.pop();
                if (!$$->paper_)
                        $$->paper_ = default_paper();
 
@@ -333,10 +333,10 @@ paper_body:
        STAFFs
 */
 staff_block:
-       STAFF   { define_spots.push(lexer->spot()); }
+       STAFF   { define_spots.push(lexer->here_ch_c_l()); }
 /*cont*/       '{' staff_body '}'      {
                $$ = $4; 
-               $$->define_spot_str_ = define_spots.pop();
+               $$-> defined_ch_c_l_ = define_spots.pop();
        }
        ;