summaryrefslogtreecommitdiff
path: root/gdb/jv-exp.y
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-05-28 01:12:42 +0000
committerKevin Buettner <kevinb@redhat.com>2000-05-28 01:12:42 +0000
commitbf6c959448e3470b740fc6f032faf4ee6c1ed43a (patch)
tree8aeacca23eb32d57e7ef9abce8d272f5b3adc53c /gdb/jv-exp.y
parentb25fcc020b2d009c63e29b7655a7534507a50f88 (diff)
downloadgdb-bf6c959448e3470b740fc6f032faf4ee6c1ed43a.tar.gz
Diffstat (limited to 'gdb/jv-exp.y')
-rw-r--r--gdb/jv-exp.y22
1 files changed, 9 insertions, 13 deletions
diff --git a/gdb/jv-exp.y b/gdb/jv-exp.y
index be5b590a360..ddf22907518 100644
--- a/gdb/jv-exp.y
+++ b/gdb/jv-exp.y
@@ -99,21 +99,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define YYDEBUG 0 /* Default to no yydebug support */
#endif
-int
-yyparse PARAMS ((void));
+int yyparse (void);
-static int
-yylex PARAMS ((void));
+static int yylex (void);
-void
-yyerror PARAMS ((char *));
+void yyerror (char *);
-static struct type * java_type_from_name PARAMS ((struct stoken));
-static void push_expression_name PARAMS ((struct stoken));
-static void push_fieldnames PARAMS ((struct stoken));
+static struct type *java_type_from_name (struct stoken);
+static void push_expression_name (struct stoken);
+static void push_fieldnames (struct stoken);
-static struct expression *copy_exp PARAMS ((struct expression *, int));
-static void insert_exp PARAMS ((int, struct expression *));
+static struct expression *copy_exp (struct expression *, int);
+static void insert_exp (int, struct expression *);
%}
@@ -145,8 +142,7 @@ static void insert_exp PARAMS ((int, struct expression *));
%{
/* YYSTYPE gets defined by %union */
-static int
-parse_number PARAMS ((char *, int, int, YYSTYPE *));
+static int parse_number (char *, int, int, YYSTYPE *);
%}
%type <lval> rcurly Dims Dims_opt