[PATCH 3/3] Remove \n from yyerror() call.

Scott Wood scottwood at freescale.com
Sat Jan 5 08:10:47 EST 2008


The \n is provided by yyerror().

Signed-off-by: Scott Wood <scottwood at freescale.com>
---
 dtc-parser.y |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dtc-parser.y b/dtc-parser.y
index f50f2f0..3a24d14 100644
--- a/dtc-parser.y
+++ b/dtc-parser.y
@@ -332,7 +332,7 @@ subnodes:
 		}
 	| subnode propdef
 		{
-			yyerror("syntax error: properties must precede subnodes\n");
+			yyerror("syntax error: properties must precede subnodes");
 			YYERROR;
 		}
 	;
-- 
1.5.3



More information about the Linuxppc-dev mailing list