summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2008-07-29 14:51:36 +1000
committerJon Loeliger <jdl@jdl.com>2008-07-31 10:37:45 -0500
commita1db0749fdb270f57fc3ef8f868700e6b3b5c0dd (patch)
tree1f8c131e1a5f26f18c5ed2ebb82c3fd55c00e032
parentd5653618d26fb8025dc8ed34a920036b61c48153 (diff)
downloaddtc-a1db0749fdb270f57fc3ef8f868700e6b3b5c0dd.tar.gz
dtc: Remove unused lexer function
dtc does not use the input() function in flex. Apparently on some gcc versions the unused function will cause warnings. Therefore, this patch removes the function by using the 'noinput' option to flex. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--dtc-lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtc-lexer.l b/dtc-lexer.l
index 44dbfd3..6f8b7dd 100644
--- a/dtc-lexer.l
+++ b/dtc-lexer.l
@@ -18,7 +18,7 @@
* USA
*/
-%option noyywrap nounput yylineno
+%option noyywrap nounput noinput yylineno
%x INCLUDE
%x BYTESTRING