summaryrefslogtreecommitdiff
path: root/binutils/arlex.l
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-04-08 15:28:47 +0000
committerNick Clifton <nickc@redhat.com>2011-04-08 15:28:47 +0000
commit894e93a83c10c0d408e2f2277ad6da8ea93ab3e9 (patch)
tree90c95440cc050f4bfddff75a8e8bb95883a9e4d1 /binutils/arlex.l
parent1fbaefec00e08a2a0dd55e59dcd570d8f1e1b3b1 (diff)
downloadbinutils-gdb-894e93a83c10c0d408e2f2277ad6da8ea93ab3e9.tar.gz
* arlex.l: Prevent redefinition of YY_NO_UNPUT.
* syslex.l: Likewise.
Diffstat (limited to 'binutils/arlex.l')
-rw-r--r--binutils/arlex.l6
1 files changed, 4 insertions, 2 deletions
diff --git a/binutils/arlex.l b/binutils/arlex.l
index aeac3911ab1..4080580125d 100644
--- a/binutils/arlex.l
+++ b/binutils/arlex.l
@@ -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.
@@ -31,8 +31,10 @@
#include "libiberty.h"
#include "arparse.h"
+#ifndef YY_NO_UNPUT
#define YY_NO_UNPUT
-
+#endif
+
extern int yylex (void);
int linenumber;