]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* arlex.l: Prevent redefinition of YY_NO_UNPUT.
authorNick Clifton <nickc@redhat.com>
Fri, 8 Apr 2011 15:28:47 +0000 (15:28 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 8 Apr 2011 15:28:47 +0000 (15:28 +0000)
* syslex.l: Likewise.

binutils/ChangeLog
binutils/arlex.l
binutils/syslex.l

index f2315f5299091de0a855dda9414bcde455f27ee4..4d3f46b0455dde9a3584b2f3bbceb287eea3eac9 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-08  John Marino  <binutils@marino.st>
+
+       * arlex.l: Prevent redefinition of YY_NO_UNPUT.
+       * syslex.l: Likewise.
+
 2011-04-07  Paul Brook  <paul@codesourcery.com>
 
        * readelf.c (arm_section_get_word): Handle C6000 relocations.
index aeac3911ab104f064f58db0cd0da1d78078c8552..4080580125da3e62293a8d48b871ac9aa921282f 100644 (file)
@@ -3,7 +3,7 @@
 %{
 /* arlex.l - Strange script language lexer */
 
-/* Copyright 1992, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2007
+/* Copyright 1992, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2011
    Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 #include "libiberty.h"
 #include "arparse.h"
 
+#ifndef YY_NO_UNPUT
 #define YY_NO_UNPUT
-
+#endif
 extern int yylex (void);
 
 int linenumber;
index 7e3f29861ba72cf6a86fbeffdef269331584d9ce..abfa6783767c57f2a7fb20619eaa0c9011494055 100644 (file)
@@ -1,7 +1,7 @@
 %option noinput nounput
 
 %{
-/* Copyright 2001, 2003, 2005, 2007 Free Software Foundation, Inc.
+/* Copyright 2001, 2003, 2005, 2007, 2011 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
@@ -30,7 +30,9 @@
 #endif
 #include "sysinfo.h"
 
+#ifndef YY_NO_UNPUT
 #define YY_NO_UNPUT
+#endif
 
 #ifndef yywrap
 static int yywrap (void) { return 1; }