]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/lexer.ll (Lily_lexer):
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 8 Mar 2005 12:00:52 +0000 (12:00 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 8 Mar 2005 12:00:52 +0000 (12:00 +0000)
* lily/parser.yy: Junk lyric_markup state.

ChangeLog
lily/include/lily-lexer.hh
lily/lexer.ll
lily/parser.yy

index 51b632aa41d04bf1a5b2547c33822017dd2a8cf8..493a70dab1f1bbeadd10cb856d356b3e72c28548 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-03-08  Jan Nieuwenhuizen  <janneke@gnu.org>
 
+       * lily/lexer.ll (Lily_lexer):
+       * lily/parser.yy: Junk lyric_markup state.
+
        * Documentation/topdocs/NEWS.tely (Top): Mention markup text feature.
 
        * scripts/lilypond-book.py (PREAMBLE_LY): toplevel-music-handler:
index b5b43219693be8a469562cdc353e7de7badbb1a4..fbc06b63676b85adf17fbfad9ce208fede807921 100644 (file)
@@ -71,7 +71,6 @@ public:
   void push_figuredbass_state ();
   void push_lyric_state ();
   void push_initial_state ();
-  void push_lyric_markup_state ();
   void push_markup_state ();
   void push_note_state (SCM tab);
   void pop_state ();
index d17fc7102629f05f068b7730df9e9702e378d583..2372e6827859f7d12e1f4b8a550b210a418f0224 100644 (file)
@@ -107,7 +107,6 @@ SCM (* scm_parse_error_handler) (void *);
 %x figures
 %x incl
 %x lyrics
-%x lyric_markup
 %x lyric_quote
 %x longcomment
 %x markup
@@ -150,7 +149,7 @@ HYPHEN              --
        // windows-suck-suck-suck
 }
 
-<INITIAL,chords,figures,incl,lyrics,lyric_markup,markup,notes>{
+<INITIAL,chords,figures,incl,lyrics,markup,notes>{
   "%{" {
        yy_push_state (longcomment);
   }
@@ -275,7 +274,7 @@ HYPHEN              --
 <chords,notes,figures>R                {
        return MULTI_MEASURE_REST;
 }
-<INITIAL,chords,figures,lyrics,lyric_markup,markup,notes>#     { //embedded scm
+<INITIAL,chords,figures,lyrics,markup,notes>#  { //embedded scm
        int n = 0;
        Input hi = here_input();
        hi.step_forward ();
@@ -475,7 +474,7 @@ HYPHEN              --
 }
 
 
-<markup,lyric_markup>{
+<markup>{
        \" {
                start_quote ();
        }
@@ -652,12 +651,6 @@ Lily_lexer::push_markup_state ()
        yy_push_state (markup);
 }
 
-void
-Lily_lexer::push_lyric_markup_state ()
-{
-       yy_push_state (lyric_markup);
-}
-
 void
 Lily_lexer::push_note_state (SCM tab)
 {
index f358cf9991223d138faf4117a789b95f43f86c35..fe8dbee58221ef28fb5a87dee13765305b5427b8 100644 (file)
@@ -2434,7 +2434,7 @@ lyric_markup:
                $$ = $1;
        }
        | LYRIC_MARKUP
-               { THIS->lexer_->push_lyric_markup_state (); }
+               { THIS->lexer_->push_markup_state (); }
        markup_top {
                $$ = $3;
                THIS->lexer_->pop_state ();