From 90fae5f375238ab122c2a4e6ed2dcbdee3366b2f Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Mon, 30 Jan 2012 20:31:29 +0000 Subject: [PATCH] Replace the old, now-defunct #define YY_NO_UNPUT by the new %option nounput. This gets rid of a compiler warning, so we are warning-free again. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1048 81a1dc3b-b13d-400b-aceb-764788c761c2 --- avrdude/ChangeLog | 5 +++++ avrdude/lexer.l | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/avrdude/ChangeLog b/avrdude/ChangeLog index bdb132c2..e05c208e 100644 --- a/avrdude/ChangeLog +++ b/avrdude/ChangeLog @@ -1,3 +1,8 @@ +2012-01-30 Joerg Wunsch + + * lexer.l: Replace the old, now-defunct #define YY_NO_UNPUT by + the new %option nounput. This gets rid of a compiler warning. + 2012-01-30 Joerg Wunsch Add a connection_type attribute to each programmer, rather than diff --git a/avrdude/lexer.l b/avrdude/lexer.l index 34f5afc1..103c0829 100644 --- a/avrdude/lexer.l +++ b/avrdude/lexer.l @@ -35,8 +35,6 @@ #include "config_gram.h" #include "lists.h" -#define YY_NO_UNPUT - %} DIGIT [0-9] @@ -47,6 +45,7 @@ SIGN [+-] %x strng %x incl %x comment +%option nounput /* Bump resources for classic lex. */ %e2000