From: David Kastrup Date: Thu, 13 Sep 2012 00:59:16 +0000 (+0200) Subject: Issue 2834: Remove "Brace found at end of markup." warning in lexer X-Git-Tag: release/2.17.3-1~17 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=44b7603963e7b9d49bc53c53d584c7fad46f31da;p=lilypond.git Issue 2834: Remove "Brace found at end of markup." warning in lexer This code has become dead since commit 3d04206a83222e89d99ddf1a0766b6b74f158967 in 2004. --- diff --git a/lily/lexer.ll b/lily/lexer.ll index f0fed79c7f..0d3f7599d8 100644 --- a/lily/lexer.ll +++ b/lily/lexer.ll @@ -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; } . {