From 61d0d121d04d66322d605d55324fd2e4c6e72dde Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sat, 14 Nov 2009 15:55:48 +0100 Subject: [PATCH] widl: Add a trailing '\n' to an error_loc() call. --- tools/widl/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/widl/parser.y b/tools/widl/parser.y index de44ab5626f..73b48a20a15 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -1033,7 +1033,7 @@ m_bitfield: { $$ = NULL; } struct_declarator: any_declarator m_bitfield { $$ = $1; $$->bits = $2; if (!$$->bits && !$$->var->name) - error_loc("unnamed fields are not allowed"); + error_loc("unnamed fields are not allowed\n"); } ;