From 44b7603963e7b9d49bc53c53d584c7fad46f31da Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Thu, 13 Sep 2012 02:59:16 +0200 Subject: [PATCH] Issue 2834: Remove "Brace found at end of markup." warning in lexer This code has become dead since commit 3d04206a83222e89d99ddf1a0766b6b74f158967 in 2004. --- lily/lexer.ll | 7 ------- 1 file changed, 7 deletions(-) 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; } . { -- 2.39.2