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

Francois Gouget fgouget at free.fr
Tue Mar 2 13:11:28 CST 2021


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>
---
 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>\"		{
-- 
2.20.1




More information about the wine-devel mailing list