Unlike most other trace and error reporting functions, parser_error() appends a linefeed to the error message.
Signed-off-by: Francois Gouget fgouget@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>" {