From 2f766233c2189481b4ee36c99410e559f1c9158c Mon Sep 17 00:00:00 2001 From: David Gibson Date: Fri, 7 Nov 2008 11:45:48 +1100 Subject: dtc: Use noinput flex option for convert-dtsv0 to remove warning The convert-dtsv0 lexer doesn't use lex's input() macro/function. This can result in "defined but not used" warnings. This patch uses flex's noinput option to prevent this warning (as we already do for dtc-lexer.l). Signed-off-by: David Gibson --- convert-dtsv0-lexer.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'convert-dtsv0-lexer.l') diff --git a/convert-dtsv0-lexer.l b/convert-dtsv0-lexer.l index 194f635..9e75085 100644 --- a/convert-dtsv0-lexer.l +++ b/convert-dtsv0-lexer.l @@ -17,7 +17,7 @@ * USA */ -%option noyywrap nounput +%option noyywrap nounput noinput %x INCLUDE %x BYTESTRING -- cgit v1.2.1