* binutils-all/ar.exp: Remove stray semicolons.
[deliverable/binutils-gdb.git] / binutils / arparse.y
index d6c7600a87cc8d41c9b241c71af6bd459b3b3940..d54de24d1c5b3b31957658eae4a62ee419f2fc8b 100644 (file)
@@ -1,7 +1,8 @@
 %{
 /* arparse.y - Stange script language parser */
 
-/*   Copyright (C) 1992, 93, 95, 97, 98, 1999 Free Software Foundation, Inc.
+/*   Copyright 1992, 1993, 1995, 1997, 1999, 2003
+     Free Software Foundation, Inc.
 
 This file is part of GNU Binutils.
 
@@ -29,8 +30,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #include "bucomm.h"
 #include "arsup.h"
 extern int verbose;
-extern int yylex PARAMS ((void));
-static int yyerror PARAMS ((const char *));
+extern int yylex (void);
+static int yyerror (const char *);
 %}
 
 %union {
@@ -74,6 +75,7 @@ session:
 
 command_line:
                command NEWLINE { prompt(); }
+       ;
 
 command:
                open_command    
@@ -192,8 +194,7 @@ verbose_command:
 %%
 
 static int
-yyerror (x)
-     const char *x;
+yyerror (const char *x ATTRIBUTE_UNUSED)
 {
   extern int linenumber;
 
This page took 0.023374 seconds and 4 git commands to generate.