projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a typo in the description of the strings program.
[deliverable/binutils-gdb.git]
/
binutils
/
arparse.y
diff --git
a/binutils/arparse.y
b/binutils/arparse.y
index 113c5483b914aa780ef2649c4b2b14ed64e1f2f9..fc6c4cec040b92d4fea19bc0f21a7115bb340aa6 100644
(file)
--- a/
binutils/arparse.y
+++ b/
binutils/arparse.y
@@
-1,8
+1,7
@@
%{
%{
-/* arparse.y - Stange script language parser */
+/* arparse.y - St
r
ange script language parser */
-/* Copyright 1992, 1993, 1995, 1997, 1999, 2002, 2003, 2005, 2007
- Free Software Foundation, Inc.
+/* Copyright (C) 1992-2020 Free Software Foundation, Inc.
This file is part of GNU Binutils.
This file is part of GNU Binutils.
@@
-60,7
+59,7
@@
struct list *list ;
%token SAVE
%token OPEN
%token SAVE
%token OPEN
-%type <list> modulelist
+%type <list> modulelist
%type <list> modulename
%type <name> optional_filename
%%
%type <list> modulename
%type <name> optional_filename
%%
@@
-79,8
+78,8
@@
command_line:
;
command:
;
command:
- open_command
- | create_command
+ open_command
+ | create_command
| verbose_command
| directory_command
| addlib_command
| verbose_command
| directory_command
| addlib_command
@@
-103,11
+102,11
@@
extract_command:
{ ar_extract($2); }
;
{ ar_extract($2); }
;
-replace_command:
+replace_command:
REPLACE modulename
{ ar_replace($2); }
;
REPLACE modulename
{ ar_replace($2); }
;
-
+
clear_command:
CLEAR
{ ar_clear(); }
clear_command:
CLEAR
{ ar_clear(); }
@@
-122,12
+121,12
@@
addmod_command:
{ ar_addmod($2); }
;
{ ar_addmod($2); }
;
-list_command:
+list_command:
LIST
{ ar_list(); }
;
LIST
{ ar_list(); }
;
-save_command:
+save_command:
SAVE
{ ar_save(); }
;
SAVE
{ ar_save(); }
;
@@
-135,12
+134,12
@@
save_command:
open_command:
open_command:
- OPEN FILENAME
+ OPEN FILENAME
{ ar_open($2,0); }
;
create_command:
{ ar_open($2,0); }
;
create_command:
- CREATE FILENAME
+ CREATE FILENAME
{ ar_open($2,1); }
;
{ ar_open($2,1); }
;
@@
-163,7
+162,7
@@
optional_filename:
;
modulelist:
;
modulelist:
- '(' modulename ')'
+ '(' modulename ')'
{ $$ = $2; }
|
{ $$ = 0; }
{ $$ = $2; }
|
{ $$ = 0; }
@@
-172,22
+171,22
@@
modulelist:
modulename:
modulename optcomma FILENAME
{ struct list *n = (struct list *) malloc(sizeof(struct list));
modulename:
modulename optcomma FILENAME
{ struct list *n = (struct list *) malloc(sizeof(struct list));
- n->next = $1;
+ n->next = $1;
n->name = $3;
$$ = n;
}
| { $$ = 0; }
;
n->name = $3;
$$ = n;
}
| { $$ = 0; }
;
-
+
optcomma:
','
|
;
optcomma:
','
|
;
-
-
+
+
verbose_command:
verbose_command:
- VERBOSE
+ VERBOSE
{ verbose = !verbose; }
;
{ verbose = !verbose; }
;
This page took
0.024982 seconds
and
4
git commands to generate.