[PATCH] wrc: Remove the trailing linefeed from a parser_error() message.
2 Mar
2021
2 Mar
'21
7:11 p.m.
Unlike most other trace and error reporting functions, parser_error() appends a linefeed to the error message. Signed-off-by: Francois Gouget <fgouget(a)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
1749
Age (days ago)
1749
Last active (days ago)
0 comments
1 participants
participants (1)
-
Francois Gouget