summaryrefslogtreecommitdiff
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
commit937d8af0e7955c3e475ba00a6bb1ee5160ab1d76 (patch)
tree8576076901a7178d86b4ae32f82c91228e4959dc /binutils/syslex.l
parent2c29e9163ec87a5660c08f8ca0cfd9e10b5d84df (diff)
downloadbinutils-redhat-937d8af0e7955c3e475ba00a6bb1ee5160ab1d76.tar.gz
* 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 7e3f29861b..abfa678376 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; }