summaryrefslogtreecommitdiffstats
path: root/gcc/c-parse.in
Commit message (Collapse)AuthorAgeFilesLines
* * c-parse.in (struct_head, union_head, enum_head): New nonterminals.law1998-07-061-15/+37
| | | | | | | | (structsp): Use them. Update files generated from c-parse.in. * extend.texi (Type Attributes): Document it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20971 138bc75d-0d04-0410-961f-82ee72b054a4
* Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>robertl1998-05-061-0/+1
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19563 138bc75d-0d04-0410-961f-82ee72b054a4
* * Check in merge from gcc2. See ChangeLog.12 for details.law1998-05-051-2/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19553 138bc75d-0d04-0410-961f-82ee72b054a4
* More system.h cutover patches:ghazi1998-04-061-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19020 138bc75d-0d04-0410-961f-82ee72b054a4
* * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12law1998-04-041-1/+1
| | | | | | | | | for details. * haifa-sched.c: Mirror recent changes from gcc2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18984 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-parse.in: Recognize protocol qualifiers in classlaw1998-03-231-3/+10
| | | | | | | | | | definitions for objc. Include "output.h". (yyerror): Remove redundant decl. (yyprint): Fix prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18788 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-parse.in (undeclared variable error): Tweak error message tolaw1998-03-011-18/+25
| | | | | | | be clearer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18341 138bc75d-0d04-0410-961f-82ee72b054a4
* (expr_no_commas): Do not store temporary skip_evaluation increments onkenner1997-03-171-15/+11
| | | | | | | | yacc value stack; the code was buggy and occasionally wrote past the end of the stack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13720 138bc75d-0d04-0410-961f-82ee72b054a4
* xmerrill1997-01-071-6/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13478 138bc75d-0d04-0410-961f-82ee72b054a4
* (unary_expr, expr_no_commas): Increment skip_evaluation when analyzing ankenner1996-12-071-14/+55
| | | | | | | | expression that is known not to be evaluated. (sizeof, alignof): New rules. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13231 138bc75d-0d04-0410-961f-82ee72b054a4
* Update number of shift/reduce conflicts.kenner1996-10-091-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12924 138bc75d-0d04-0410-961f-82ee72b054a4
* Update number of shift/reduce conflicts for objc.kenner1996-05-181-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12023 138bc75d-0d04-0410-961f-82ee72b054a4
* (typespec): Made <SomeProtocol> equivalent to (id <SomeProtocol>).kenner1996-04-201-2/+12
| | | | | | | (non_empty_protocolrefs): New nonterminal. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11858 138bc75d-0d04-0410-961f-82ee72b054a4
* (stmt): Warn about `goto *expr;' if pedantic.eggert1996-02-021-1/+5
| | | | | | | (label): Warn about `case expr ... expr:' if pedantic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11160 138bc75d-0d04-0410-961f-82ee72b054a4
* (enumlist): Propagate error_mark_node.kenner1995-09-221-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10396 138bc75d-0d04-0410-961f-82ee72b054a4
* (ends_in_label): New %union member.kenner1995-08-311-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10302 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kenner1995-06-151-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9959 138bc75d-0d04-0410-961f-82ee72b054a4
* Revert most of last change.kenner1995-06-141-12/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9946 138bc75d-0d04-0410-961f-82ee72b054a4
* (fndef, nested_function, notype_nested_function): Support attributeskenner1995-06-141-12/+13
| | | | | | | after function definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9942 138bc75d-0d04-0410-961f-82ee72b054a4
* Objc shift/reduce conflicts now 48.kenner1995-05-231-23/+43
| | | | | | | | (parm): Use setspecs/restore here. (parmlist_or_identifiers): Not here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9776 138bc75d-0d04-0410-961f-82ee72b054a4
* (datadef, fndef, ivar_decl, mydecls): Restore declspec_stack sincekenner1995-05-211-20/+62
| | | | | | | | | setspecs is used. (parmlist_or_identifiers): Use setspecs before parsing parms and restore after parsing parms. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9760 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typos in comments.kenner1995-05-161-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9711 138bc75d-0d04-0410-961f-82ee72b054a4
* (myparm): Handle attributes.kenner1995-05-121-6/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9657 138bc75d-0d04-0410-961f-82ee72b054a4
* Adjust number of shift/reduce conflicts.kenner1995-05-121-12/+23
| | | | | | | (parm): Support attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9638 138bc75d-0d04-0410-961f-82ee72b054a4
* (nested_function, notype_nested_function): Allow old-style argkenner1995-05-111-4/+6
| | | | | | | definitions (use xdecls). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9628 138bc75d-0d04-0410-961f-82ee72b054a4
* Update number of shift/reduce conflicts.kenner1995-04-261-18/+11
| | | | | | | | (structsp): Pass attribute arg to finish_struct. Support attributes on enums and pass to finish_enum. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9487 138bc75d-0d04-0410-961f-82ee72b054a4
* (attrib): Permit null-length argument list to attributes.kenner1995-04-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9458 138bc75d-0d04-0410-961f-82ee72b054a4
* (initdcl, notype_initdcl): Pass attributes to start_decl; delete callkenner1995-04-251-8/+8
| | | | | | | to decl_attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9442 138bc75d-0d04-0410-961f-82ee72b054a4
* (update expected conflict count)dje1995-04-131-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9377 138bc75d-0d04-0410-961f-82ee72b054a4
* (structsp): Correct error in last change.kenner1995-03-311-3/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9270 138bc75d-0d04-0410-961f-82ee72b054a4
* Now have 27 shift/reduce conflicts.kenner1995-03-301-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9260 138bc75d-0d04-0410-961f-82ee72b054a4
* (initdcl): Only call decl_attributes once.kenner1995-03-291-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9240 138bc75d-0d04-0410-961f-82ee72b054a4
* (fndef, nested_function): Pass prefix_attributes to start_function.kenner1995-03-101-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9151 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in last change.kenner1995-03-021-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9111 138bc75d-0d04-0410-961f-82ee72b054a4
* Update shift/reduce conflict documentation.kenner1995-03-021-12/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9109 138bc75d-0d04-0410-961f-82ee72b054a4
* New rules to allow attributes in a prefix position.kenner1995-02-211-12/+27
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8995 138bc75d-0d04-0410-961f-82ee72b054a4
* (ALIGN): Remove unused token.kenner1995-02-131-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8924 138bc75d-0d04-0410-961f-82ee72b054a4
* (unary_expr): If -pedantic, give error for &&.kenner1995-01-141-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8748 138bc75d-0d04-0410-961f-82ee72b054a4
* __attribute__ ((constructor))merrill1995-01-141-6/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8747 138bc75d-0d04-0410-961f-82ee72b054a4
* (parmlist_2): Give error for function with only ELLIPSIS as ankenner1994-08-241-2/+7
| | | | | | | argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7969 138bc75d-0d04-0410-961f-82ee72b054a4
* (stmt): Don't give more than one error message if a nested `if' has ankenner1994-07-111-2/+3
| | | | | | | empty body. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7722 138bc75d-0d04-0410-961f-82ee72b054a4
* (initelt): The equal sign is optional when positioning to a singlekenner1994-07-011-0/+3
| | | | | | | element of an array. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7637 138bc75d-0d04-0410-961f-82ee72b054a4
* (init, compstmt, stmt, all_iter_stmt_with_decl): If the lookaheadkenner1994-05-291-7/+26
| | | | | | | | token is a constant and we need to pop the momentary obstack, don't free it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7382 138bc75d-0d04-0410-961f-82ee72b054a4
* (enumlist): Add error alternative.rms1994-05-161-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7316 138bc75d-0d04-0410-961f-82ee72b054a4
* Rewrite attribute parsing; update the expected conflicts and statekenner1994-05-061-66/+60
| | | | | | | numbers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7252 138bc75d-0d04-0410-961f-82ee72b054a4
* (attrib): Handle string args as expressions,rms1994-03-281-28/+14
| | | | | | | | merging the two rules. `mode' attribute now takes a string arg. Delete the rule for an identifier as arg. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6913 138bc75d-0d04-0410-961f-82ee72b054a4
* Back out this patch:dje1994-03-271-5/+5
| | | | | | | | (attrib): Use `identifier' instead of `IDENTIFIER' since names that are (e.g.) typedef names are still OK. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6912 138bc75d-0d04-0410-961f-82ee72b054a4
* (primary): Remove decl of unused variable CONTEXT.kenner1994-03-251-2/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6873 138bc75d-0d04-0410-961f-82ee72b054a4
* (attrib): Use `identifier' instead of `IDENTIFIER' since names thatkenner1994-03-191-5/+5
| | | | | | | are (e.g.) typedef names are still OK. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6828 138bc75d-0d04-0410-961f-82ee72b054a4
* (attrib): Handle attribute ((section ("string"))).dje1994-02-171-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6581 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud