Francois Gouget : wrc: Remove the trailing linefeed from a parser_error() message.

Alexandre Julliard julliard at winehq.org
Tue Mar 2 15:35:59 CST 2021


Module: wine
Branch: master
Commit: 55ba6262d219cfb7fe19450db4b22eba8e62a33f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=55ba6262d219cfb7fe19450db4b22eba8e62a33f

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Mar  2 20:11:28 2021 +0100

wrc: Remove the trailing linefeed from a parser_error() message.

Unlike most other trace and error reporting functions, parser_error()
appends a linefeed to the error message.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/wrc/parser.l | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/wrc/parser.l b/tools/wrc/parser.l
index 3ee7eb4a96a..f0cec77945e 100644
--- a/tools/wrc/parser.l
+++ b/tools/wrc/parser.l
@@ -429,7 +429,7 @@ L\"			{
 				yy_push_state(tklstr);
 				wbufidx = 0;
 				if(!win32)
-					parser_error("16bit resource contains unicode strings\n");
+					parser_error("16bit resource contains unicode strings");
 			}
 <tklstr>\"{ws}+	|
 <tklstr>\"		{




More information about the wine-cvs mailing list