diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-06-13 10:16:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-06-13 10:16:43 +0000 |
commit | 6b35f43ff4ab503926f4091513de9b449eeace5f (patch) | |
tree | b11ad0cf41b95a0e4d0a5eefe76f5d694f205456 /binutils/deflex.l | |
parent | 4da332d1acae363835352632955b99e71928a139 (diff) | |
download | binutils-redhat-6b35f43ff4ab503926f4091513de9b449eeace5f.tar.gz |
* defparse.y (explist): Remove separate expline to eliminate
shift/reduce conflict.
From Kai-Uwe Rommel <rommel@ars.de>:
* defparse.y: Add tokens NONSHARED, SINGLE, MULTIPLE,
INITINSTANCE, INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
(command): Add option_list after LIBRARY.
(attr): Accept and ignore NONSHARED, SINGLE, and MULTIPLE.
(option_list, option): New nonterminals.
* deflex.l: Recognize NONSHARED, SINGLE, MULTIPLE, INITINSTANCE,
INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
Diffstat (limited to 'binutils/deflex.l')
-rw-r--r-- | binutils/deflex.l | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/binutils/deflex.l b/binutils/deflex.l index e7fa362639..928c42c6b9 100644 --- a/binutils/deflex.l +++ b/binutils/deflex.l @@ -1,6 +1,6 @@ %{/* deflex.l - Lexer for .def files */ -/* Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -50,6 +50,13 @@ int linenumber; "WRITE" { return WRITE;} "EXECUTE" { return EXECUTE;} "SHARED" { return SHARED;} +"NONSHARED" { return NONSHARED;} +"SINGLE" { return SINGLE;} +"MULTIPLE" { return MULTIPLE;} +"INITINSTANCE" { return INITINSTANCE;} +"INITGLOBAL" { return INITGLOBAL;} +"TERMINSTANCE" { return TERMINSTANCE;} +"TERMGLOBAL" { return TERMGLOBAL;} [0-9][x0-9A-Fa-f]* { yylval.number = strtol (yytext,0,0); return NUMBER; } |