aboutsummaryrefslogtreecommitdiff
path: root/binutils/syslex.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/syslex.l
parent1fbaefec00e08a2a0dd55e59dcd570d8f1e1b3b1 (diff)
downloadgdb-894e93a83c10c0d408e2f2277ad6da8ea93ab3e9.zip
gdb-894e93a83c10c0d408e2f2277ad6da8ea93ab3e9.tar.gz
gdb-894e93a83c10c0d408e2f2277ad6da8ea93ab3e9.tar.bz2
* arlex.l: Prevent redefinition of YY_NO_UNPUT.
* syslex.l: Likewise.
Diffstat (limited to 'binutils/syslex.l')
-rw-r--r--binutils/syslex.l4
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils/syslex.l b/binutils/syslex.l
index 7e3f298..abfa678 100644
--- a/binutils/syslex.l
+++ b/binutils/syslex.l
@@ -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; }