aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parse.in
AgeCommit message (Collapse)AuthorFilesLines
1998-05-06toplev.h: New file.Robert Lipe1-0/+1
Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com> * toplev.h: New file. Protypes for functions in toplev.c. * tree.h, rtl.h: Deleted protos for functions in toplev.c. * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c, c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c, convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c, function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c, reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c, varasm.c: include it. From-SVN: r19563
1998-05-05* Check in merge from gcc2. See ChangeLog.12 for details.Jeff Law1-2/+8
From-SVN: r19553
1998-04-06More system.h cutover patches:Kaveh R. Ghazi1-8/+1
* c-parse.in: Include system.h, and remove stuff now made redundant. * cccp.c: Likewise. * cexp.y: Likewise. * protoize.c: Likewise. Properly check for cpp stringification. * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o): Depend on system.h. * objc/Make-lang.in (objc-parse.o): Likewise. From-SVN: r19020
1998-04-04* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12Jeff Law1-1/+1
for details. * haifa-sched.c: Mirror recent changes from gcc2. From-SVN: r18984
1998-03-23c-parse.in: Recognize protocol qualifiers in class definitions for objc.H.J. Lu1-3/+10
* c-parse.in: Recognize protocol qualifiers in class definitions for objc. Include "output.h". (yyerror): Remove redundant decl. (yyprint): Fix prototype. From-SVN: r18788
1998-03-01c-parse.in (undeclared variable error): Tweak error message to be clearer.Jeffrey A Law1-18/+25
* c-parse.in (undeclared variable error): Tweak error message to be clearer. From-SVN: r18341
1997-03-17(expr_no_commas): Do not store temporary skip_evaluation increments on yacc ↵Richard Kenner1-15/+11
value stack... (expr_no_commas): Do not store temporary skip_evaluation increments on yacc value stack; the code was buggy and occasionally wrote past the end of the stack. From-SVN: r13720
1997-01-07xJason Merrill1-6/+16
From-SVN: r13478
1996-12-07(unary_expr, expr_no_commas): Increment skip_evaluation when analyzing an ↵Richard Kenner1-14/+55
expression that is known not to be evaluated. (unary_expr, expr_no_commas): Increment skip_evaluation when analyzing an expression that is known not to be evaluated. (sizeof, alignof): New rules. From-SVN: r13231
1996-10-09Update number of shift/reduce conflicts.Richard Kenner1-26/+82
({typed_declspecs,reserved_declspecs,declmods}_no_prefix_attr): New. (current_declspecs): Initialize to NULL_TREE. (fndef): Pass current_declspecs, not $1, to start_function. (old_style_parm_decls): Renamed from xdecls. (datadecl, declmods): Add references to new rules. (setspecs): Call split_specs_attrs. (absdcl1): Remove case with setattrs. From-SVN: r12924
1996-05-18Update number of shift/reduce conflicts for objc.Richard Kenner1-2/+2
From-SVN: r12023
1996-04-20(typespec): Made <SomeProtocol> equivalent to (id <SomeProtocol>).Richard Kenner1-2/+12
(non_empty_protocolrefs): New nonterminal. From-SVN: r11858
1996-02-02(stmt): Warn about `goto *expr;' if pedantic.Paul Eggert1-1/+5
(label): Warn about `case expr ... expr:' if pedantic. From-SVN: r11160
1995-09-22(enumlist): Propagate error_mark_node.Richard Kenner1-1/+4
From-SVN: r10396
1995-08-31(ends_in_label): New %union member.Richard Kenner1-11/+18
(stmts, stmt_or_label): Use new member to avoid lexical lookahead hack. (lineno_stmt_or_labels): New rule. (lineno_stmt_or_label, stmt_or_label): Yield nonzero if it ends in a label. From-SVN: r10302
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9959
1995-06-14Revert most of last change.Richard Kenner1-12/+14
From-SVN: r9946
1995-06-14(fndef, nested_function, notype_nested_function): Support attributesRichard Kenner1-12/+13
after function definition. From-SVN: r9942
1995-05-23Objc shift/reduce conflicts now 48.Richard Kenner1-23/+43
(parm): Use setspecs/restore here. (parmlist_or_identifiers): Not here. From-SVN: r9776
1995-05-21(datadef, fndef, ivar_decl, mydecls): Restore declspec_stack since setspecs ↵Richard Kenner1-20/+62
is used. (datadef, fndef, ivar_decl, mydecls): Restore declspec_stack since setspecs is used. (parmlist_or_identifiers): Use setspecs before parsing parms and restore after parsing parms. From-SVN: r9760
1995-05-16Fix typos in comments.Richard Kenner1-2/+2
From-SVN: r9711
1995-05-12(myparm): Handle attributes.Richard Kenner1-6/+15
From-SVN: r9657
1995-05-12Adjust number of shift/reduce conflicts.Richard Kenner1-12/+23
(parm): Support attributes. From-SVN: r9638
1995-05-11(nested_function, notype_nested_function): Allow old-style argRichard Kenner1-4/+6
definitions (use xdecls). From-SVN: r9628
1995-04-26Update number of shift/reduce conflicts.Richard Kenner1-18/+11
(structsp): Pass attribute arg to finish_struct. Support attributes on enums and pass to finish_enum. From-SVN: r9487
1995-04-25(attrib): Permit null-length argument list to attributes.Richard Kenner1-1/+1
From-SVN: r9458
1995-04-25(initdcl, notype_initdcl): Pass attributes to start_decl; delete callRichard Kenner1-8/+8
to decl_attributes. From-SVN: r9442
1995-04-13(update expected conflict count)Doug Evans1-2/+2
From-SVN: r9377
1995-03-31(structsp): Correct error in last change.Richard Kenner1-3/+5
From-SVN: r9270
1995-03-30Now have 27 shift/reduce conflicts.Richard Kenner1-14/+17
(attribute_list): Just make chain of all attributes. (attrib): Consistently put name as PURPOSE, args, if any, as VALUE. (structsp): Allow attributes on any struct or union. From-SVN: r9260
1995-03-29(initdcl): Only call decl_attributes once.Richard Kenner1-1/+0
From-SVN: r9240
1995-03-09(fndef, nested_function): Pass prefix_attributes to start_function.Richard Kenner1-9/+20
(setspecs): Save prefix_attributes in declspec_stack. (decl rules): Restore prefix_attributes along with current_declspecs. (setattrs): Concatenate prefix_attributes to previous value. From-SVN: r9151
1995-03-02Fix typo in last change.Richard Kenner1-1/+2
From-SVN: r9111
1995-03-02Update shift/reduce conflict documentation.Richard Kenner1-12/+20
From-SVN: r9109
1995-02-21New rules to allow attributes in a prefix position.Richard Kenner1-12/+27
From-SVN: r8995
1995-02-13(ALIGN): Remove unused token.Richard Kenner1-1/+1
From-SVN: r8924
1995-01-13(unary_expr): If -pedantic, give error for &&.Richard Kenner1-1/+3
From-SVN: r8748
1995-01-14__attribute__ ((constructor))Jason Merrill1-6/+2
From-SVN: r8747
1994-08-24(parmlist_2): Give error for function with only ELLIPSIS as anRichard Kenner1-2/+7
argument. From-SVN: r7969
1994-07-11(stmt): Don't give more than one error message if a nested `if' has anRichard Kenner1-2/+3
empty body. From-SVN: r7722
1994-07-01(initelt): The equal sign is optional when positioning to a singleRichard Kenner1-0/+3
element of an array. From-SVN: r7637
1994-05-28(init...Richard Kenner1-7/+26
(init, compstmt, stmt, all_iter_stmt_with_decl): If the lookahead token is a constant and we need to pop the momentary obstack, don't free it. From-SVN: r7382
1994-05-16(enumlist): Add error alternative.Richard Stallman1-0/+2
From-SVN: r7316
1994-05-06Rewrite attribute parsing; update the expected conflicts and stateRichard Kenner1-66/+60
numbers. From-SVN: r7252
1994-03-28(attrib): Handle string args as expressions,Richard Stallman1-28/+14
merging the two rules. `mode' attribute now takes a string arg. Delete the rule for an identifier as arg. From-SVN: r6913
1994-03-27Back out this patch:Doug Evans1-5/+5
(attrib): Use `identifier' instead of `IDENTIFIER' since names that are (e.g.) typedef names are still OK. From-SVN: r6912
1994-03-25(primary): Remove decl of unused variable CONTEXT.Richard Kenner1-2/+0
From-SVN: r6873
1994-03-19(attrib): Use `identifier' instead of `IDENTIFIER' since names thatRichard Kenner1-5/+5
are (e.g.) typedef names are still OK. From-SVN: r6828
1994-02-17(attrib): Handle attribute ((section ("string"))).Doug Evans1-0/+10
From-SVN: r6581
1994-01-13(maybe_attribute): Allow multiple __attribute__ clauses on aRichard Kenner1-3/+3
declaration. From-SVN: r6389