From f8989a66b88d9b4fa6cad40e5266a29696655764 Mon Sep 17 00:00:00 2001 From: Alexandre Petit-Bianco Date: Sat, 29 Jan 2000 22:40:07 +0000 Subject: [multiple changes] 2000-01-29 Alexandre Petit-Bianco * parse.y (formal_parameter:): Set `$$' to NULL_TREE for better error handling/recovery. * java-tree.h (SYNCHRONIZED_EXPR): Fixed typo in comment. Wed Jan 12 20:20:11 2000 Alexandre Petit-Bianco * jcf-write.c (generate_bytecode_insns): binop: Change the type of the shift value to int. Fixed typo in comment. From-SVN: r31695 --- gcc/java/parse.y | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/java/parse.y') diff --git a/gcc/java/parse.y b/gcc/java/parse.y index c3fc4a0..3ba506f 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -971,10 +971,14 @@ formal_parameter: $$ = build_tree_list ($3, $2); } | type error - {yyerror ("Missing identifier"); RECOVER;} + { + yyerror ("Missing identifier"); RECOVER; + $$ = NULL_TREE; + } | final type error { yyerror ("Missing identifier"); RECOVER; + $$ = NULL_TREE; } ; -- cgit v1.1