aboutsummaryrefslogtreecommitdiff
path: root/binutils/deflex.l
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-03-08 11:50:36 +0000
committerNick Clifton <nickc@redhat.com>2004-03-08 11:50:36 +0000
commit7aa52b1f6540662befbe35a8dd7ffb6b040d9231 (patch)
tree1bf7ec1c789108e922e913d0019001100c31309b /binutils/deflex.l
parentee31fbd0360ca03692ab43dc4743ea0c3fa5a91a (diff)
downloadbinutils-7aa52b1f6540662befbe35a8dd7ffb6b040d9231.zip
binutils-7aa52b1f6540662befbe35a8dd7ffb6b040d9231.tar.gz
binutils-7aa52b1f6540662befbe35a8dd7ffb6b040d9231.tar.bz2
Honour the PRIVATE keyword
Diffstat (limited to 'binutils/deflex.l')
-rw-r--r--binutils/deflex.l32
1 files changed, 16 insertions, 16 deletions
diff --git a/binutils/deflex.l b/binutils/deflex.l
index 106cc7b..bdf15d3 100644
--- a/binutils/deflex.l
+++ b/binutils/deflex.l
@@ -1,28 +1,27 @@
%{/* deflex.l - Lexer for .def files */
-/* Copyright 1995, 1997, 1998, 1999, 2002, 2003 Free Software Foundation, Inc.
+/* Copyright 1995, 1997, 1998, 1999, 2002, 2003, 2004
+ Free Software Foundation, Inc.
-This file is part of GNU Binutils.
+ This file is part of GNU Binutils.
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-/* Contributed by Steve Chamberlain
- sac@cygnus.com
+/* Contributed by Steve Chamberlain: sac@cygnus.com */
-*/
#define DONTDECLARE_MALLOC
#include "libiberty.h"
#include "defparse.h"
@@ -46,6 +45,7 @@ int linenumber;
"BASE" { return BASE;}
"CONSTANT" { return CONSTANT; }
"NONAME" { return NONAME; }
+"PRIVATE" { return PRIVATE; }
"READ" { return READ;}
"WRITE" { return WRITE;}
"EXECUTE" { return EXECUTE;}