-
- Downloads
Make-lang.in (parse.c): Adjust expected number of shift-reduce conflicts.
* Make-lang.in (parse.c): Adjust expected number of shift-reduce conflicts. (decl.o): Depend on diagnostic.h. * decl.c: Include diagnostic.h. (grokdeclarator): Check for null pointer. (finish_function): Don't abort when current_binding_level->parm_flag != 1, if errors have occurred; throw away the statement tree and extra binding levels, and continue. * lex.c (note_list_got_semicolon): Check for null pointer. * method.c (hack_identifier): Just return error_mark_node if value is error_mark_node. * parse.y (primary: TYPEID(type_id)): No need to use TYPE_MAIN_VARIANT here. (handler_seq): Accept an empty list of catch clauses and generate a fake handler block to avoid later crashes. (ansi_raise_identifier): Accept the error token too. * semantics.c (begin_class_definition, finish_class_definition): Check for error_mark_node. From-SVN: r49163
Showing
- gcc/cp/ChangeLog 22 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/Make-lang.in 2 additions, 2 deletionsgcc/cp/Make-lang.in
- gcc/cp/decl.c 23 additions, 2 deletionsgcc/cp/decl.c
- gcc/cp/lex.c 1 addition, 1 deletiongcc/cp/lex.c
- gcc/cp/method.c 1 addition, 32 deletionsgcc/cp/method.c
- gcc/cp/parse.y 12 additions, 1 deletiongcc/cp/parse.y
- gcc/cp/semantics.c 6 additions, 0 deletionsgcc/cp/semantics.c
Loading
Please register or sign in to comment