From 0f8e5057d5db83be612282b22fe215884a49e244 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/avrdude@1048 81a1dc3b-b13d-400b-aceb-764788c761c2 --- ChangeLog | 5 +++++ lexer.l | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bdb132c2..e05c208e 100644 --- a/ChangeLog +++ b/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/lexer.l b/lexer.l index 34f5afc1..103c0829 100644 --- a/lexer.l +++ b/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