This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Fix .def parser syntax
- From: Andreas Schwab <schwab at suse dot de>
- To: binutils at sources dot redhat dot com
- Date: Sun, 19 Oct 2003 17:21:42 +0200
- Subject: Fix .def parser syntax
This fixes syntax errors in the .def parser spec. Committed as obvious.
Andreas.
2003-10-19 Andreas Schwab <schwab@suse.de>
* deffilep.y: Remove commas from %token lines.
--- ld/deffilep.y.~1.16.~ 2003-07-01 15:11:31.000000000 +0200
+++ ld/deffilep.y 2003-10-19 17:15:34.000000000 +0200
@@ -105,9 +105,9 @@ static const char *lex_parse_string_end
int number;
};
-%token NAME, LIBRARY, DESCRIPTION, STACKSIZE, HEAPSIZE, CODE, DATAU, DATAL
-%token SECTIONS, EXPORTS, IMPORTS, VERSIONK, BASE, CONSTANTU, CONSTANTL
-%token PRIVATEU, PRIVATEL
+%token NAME LIBRARY DESCRIPTION STACKSIZE HEAPSIZE CODE DATAU DATAL
+%token SECTIONS EXPORTS IMPORTS VERSIONK BASE CONSTANTU CONSTANTL
+%token PRIVATEU PRIVATEL
%token READ WRITE EXECUTE SHARED NONAMEU NONAMEL DIRECTIVE
%token <id> ID
%token <number> NUMBER
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."