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
This commit is contained in:
Joerg Wunsch 2012-01-30 20:31:29 +00:00
parent a68791b705
commit 0b92bf9a17
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-01-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
* 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 <j.gnu@uriah.heep.sax.de>
Add a connection_type attribute to each programmer, rather than

View File

@ -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