]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 2834: Remove "Brace found at end of markup." warning in lexer
authorDavid Kastrup <dak@gnu.org>
Thu, 13 Sep 2012 00:59:16 +0000 (02:59 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 14 Sep 2012 13:01:01 +0000 (15:01 +0200)
This code has become dead since commit
3d04206a83222e89d99ddf1a0766b6b74f158967 in 2004.

lily/lexer.ll

index f0fed79c7f9b8b936233034f435acb43c09bbb32..0d3f7599d899a09aab95f6800960c4e790ae6535 100644 (file)
@@ -692,14 +692,7 @@ BOM_UTF8   \357\273\277
        [^$#{}\"\\ \t\n\r\f]+ {
                string s (YYText_utf8 ()); 
 
-               char c = s[s.length () - 1];
-               /* brace open is for not confusing dumb tools.  */
-               if (c == '{' ||  c == '}')
-                       here_input ().warning (
-                               _ ("Brace found at end of markup.  Did you forget a space?"));
                yylval = ly_string2scm (s);
-
-
                return STRING;
        }
        .  {