diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2008-11-07 11:45:48 +1100 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2008-11-17 14:05:24 -0600 |
commit | 2f766233c2189481b4ee36c99410e559f1c9158c (patch) | |
tree | d522490c2d84815b0da19e659e632c6f88105378 | |
parent | 0783d7e705f2d73f7148d9f45c600c2587b3c3ce (diff) | |
download | dtc-2f766233c2189481b4ee36c99410e559f1c9158c.tar.gz |
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 <david@gibson.dropbear.id.au>
-rw-r--r-- | convert-dtsv0-lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
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 |