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

flat view
DORMANTno replies

From: Scott Wood <hidden>
Date: 2008-01-04 21:11:05
Subsystem: the rest · Maintainer: Linus Torvalds

The \n is provided by yyerror().

Signed-off-by: Scott Wood <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help