From b36e9b7d5725786b282bc0d63d0291a37e388b75 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Fri, 26 Oct 2012 12:54:25 +0200 Subject: [PATCH] lexer.ll: lyric_quote was not necessary as separate state. --- lily/lexer.ll | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lily/lexer.ll b/lily/lexer.ll index 9f99b463bf..bad1cd7954 100644 --- a/lily/lexer.ll +++ b/lily/lexer.ll @@ -91,11 +91,6 @@ bool is_valid_version (string s); yylval = SCM_EOL; \ } while (0) -#define start_lyric_quote() do { \ - yy_push_state (lyric_quote); \ - yylval = SCM_EOL; \ - } while (0) - #define yylval (*lexval_) #define yylloc (*lexloc_) @@ -124,7 +119,6 @@ SCM (* scm_parse_error_handler) (void *); %x figures %x incl %x lyrics -%x lyric_quote %x longcomment %x markup %x notes @@ -510,7 +504,7 @@ BOM_UTF8 \357\273\277 } } -{ +{ \\{ESCAPED} { char c = escaped_char (YYText ()[1]); yylval = scm_cons (scm_from_locale_stringn (&c, 1), @@ -540,7 +534,7 @@ BOM_UTF8 \357\273\277 { \" { - start_lyric_quote (); + start_quote (); } {FRACTION} { yylval = scan_fraction (YYText ()); -- 2.39.2