From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28459 invoked by alias); 27 Feb 2013 20:53:31 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 28423 invoked by uid 306); 27 Feb 2013 20:53:29 -0000 Date: Wed, 27 Feb 2013 20:53:00 -0000 Message-ID: <20130227205328.28409.qmail@sourceware.org> From: tromey@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] keiths/cpparser-branch: reverse-20080717-branchpoint-6767-gcaf40e9 X-Git-Refname: refs/heads/keiths/cpparser-branch X-Git-Reftype: branch X-Git-Oldrev: 0000000000000000000000000000000000000000 X-Git-Newrev: caf40e9ca91852a1893719a7e802d1ceb6492e05 X-SW-Source: 2013-q1/txt/msg00160.txt.bz2 List-Id: The branch, keiths/cpparser-branch has been created at caf40e9ca91852a1893719a7e802d1ceb6492e05 (commit) - Log ----------------------------------------------------------------- commit caf40e9ca91852a1893719a7e802d1ceb6492e05 Author: keiths Date: Wed Oct 27 10:47:56 2010 -0700 * cparser.c (c_parse): Resurrect LEXPTR adjustment. commit a61801b679a373d2b1862515282a96e616de13bd Author: keiths Date: Wed Oct 27 09:30:25 2010 -0700 * cparser.c (cp_parse_postfix_expression): Remove TTYPE_CLOSE_PAREN case. (cp_do_parse): Remove. (c_parse): Call cp_parse_expression instead of cp_do_parse. If we didn't parse all tokens, issue an error. commit b1461114cec890ec5e743449790ed68767a883da Author: keiths Date: Wed Oct 13 13:33:30 2010 -0700 * cparser.c: Change all parsing errors to use cp_parse_error. Add FIXME for "junk at end of specification". commit f308644bad447d2255d20a3b52e0364bc23bf4c2 Merge: cfc78d9 8eb79a0 Author: keiths Date: Wed Oct 13 11:22:01 2010 -0700 Merge branch 'archer-cpparser-branch' of ssh://sourceware.org/git/archer into archer-cpparser-branch commit cfc78d9678ff48157f956312004053f51d09e019 Author: keiths Date: Wed Oct 13 11:20:32 2010 -0700 * cparser.c: Too much to list. Lots of new functions to deal with tentative parsing, new error handling, fix/implement simple type-casting, name lookups, unary expressions, and a whole lot more. commit 8eb79a033cbbcb58e67bad969f63bbae48ebb922 Author: Sergio Durigan Junior Date: Fri Sep 10 19:46:06 2010 -0300 * cparser.c (cp_parse_postfix_expression): Added case for TTYPE_CLOSE_PAREN in order to catch extra parenthesis at the end of the expression. commit 792a18f4c693e8701e69c25532f979bab0751a63 Merge: 9f8fa00 6ad7865 Author: keiths Date: Thu Sep 2 13:18:07 2010 -0700 Merge branch 'archer-cpparser-branch' of ssh://sourceware.org/git/archer into archer-cpparser-branch commit 9f8fa0089c1992d49e28be90e16d756085d17303 Author: keiths Date: Thu Sep 2 13:17:17 2010 -0700 * cparser.c (cp_parse_postfix_expression): Use gdb_assert_not_reached. (cp_parse_unary_expression): Likewise. (build_binary_op): Likewise. commit 6ad7865b4d39ee850db54f9263696393977899e3 Merge: f5a02ba 27d719a Author: Sergio Durigan Junior Date: Thu Sep 2 17:13:20 2010 -0300 Merge remote branch 'archer/archer-cpparser-branch' into archer-sergio-cpparser-branch commit f5a02ba97880ea247e73e0a5e79e1f92a036405b Author: Sergio Durigan Junior Date: Thu Sep 2 17:11:57 2010 -0300 * cparser.c (cp_parse_primary_expression): Added case for TTYPE_OPEN_PAREN. commit 27d719acda645c668d3fcb555eef7a96a183e3cc Merge: 7576e40 4892da0 Author: keiths Date: Thu Sep 2 13:01:53 2010 -0700 Merge branch 'master' into archer-cpparser-branch commit 7576e402a1a865264bbb355561d916dff595e637 Author: keiths Date: Thu Sep 2 12:38:27 2010 -0700 * cparser.c: Add comments for some functions. Add keywords, handling for "[]", a bunch of minor cleanups. (cp_lexer_consume_token): Return the consumed token instead of the next one. (free_expression_chain): Turn into a cleanup function. (cp_expression_chain): Do not reallocate expout when appending to an existing chain. (cp_required_token_error): New function. (cp_requre_token): New function. (cp_parse_identifier): New function. (cp_parse_global_scope_opt): New function. (cp_parse_unqualified_id): New function. (cp_parse_id_expression): New function. (cp_parse_primary_expression): Handle TTYPE_NAME. (cp_parse_postfix_open_square_expression): New function. (cp_parse_postfix_expression): Add handling for "[" and mention "(", "++", "--", ".", and ".*". (build_binary_opt): Do not free RHS. (cp_parse_binary_expression): Add cleanups for LHS and RHS. Save cleanups onto the expression stack, too. (cp_lex_one_token): Add TTYPE_NAME handling. (free_cp_parser): Make into a cleanup function. (new_parser): Set lexing language. (c_parse): Add cleanup for parser. Free EXPOUT when finished with parsing. (_initialize_cparser): Define global_namespace. [Needed?] commit 20221dcf00df6aef51260edb368992039268dbc1 Author: Sergio Durigan Junior Date: Wed Aug 18 15:31:52 2010 -0300 cparser: Extending cp_lex_one_token. commit 6c17f85b881698ed300a9243f7670fb7e44379d6 Author: keiths Date: Fri Aug 13 17:55:25 2010 -0700 * cparser.c [TOKEN_TABLE]: Add KEYWORD. (enum expr_code): Add ERROR_CODE, INDIRECT_REF, ADDR_EXPR, PREINCREMENT_EXPR, PREDECREMENT_EXPR, UNARY_PLUS_EXPR, NEGATE_EXPR, TRUTH_NOT_EXPR, and BIT_NOT_EXPR. (cp_unary_operator): New function. (cp_parse_unary_expression): Implement basic unary operators. (cp_parse_expression): Remove unary operator junk. commit 7777edd5f7311d0e61bfcb96b4bf06c883c9eaf2 Author: keiths Date: Fri Aug 13 17:10:36 2010 -0700 * cparser.c: Big cleanup. Sorry. commit b744e3aacdbbeb44f4b00b5e48e242a3e98001f5 Merge: 7e637f7 882bbd5 Author: keiths Date: Fri Aug 13 16:50:41 2010 -0700 Merge branch 'archer-cpparser-branch' of ssh://sourceware.org/git/archer into archer-cpparser-branch Conflicts: gdb/cparser.c commit 882bbd533c954565c88a3a297e3a9220ec9eb7a0 Author: Sergio Durigan Junior Date: Tue Jul 27 18:53:10 2010 -0300 Adding more operations; some cleanup. The following operations were added: &, |, ^ Also, some cleanup on the comments. commit 7e637f7bcdc4fe43779acff93ceb52156e54c877 Merge: fb4a0ed ac0da2d Author: keiths Date: Mon Jul 26 12:57:32 2010 -0700 Merge branch 'archer-cpparser-branch' of ssh://sourceware.org/git/archer into archer-cpparser-branch commit ac0da2d22c20b580394984adcadebf751bbca2ee Author: Sergio Durigan Junior Date: Thu Jul 22 19:53:45 2010 -0300 cparser: Added other operations. The following operations were added by this commit: &&, ||, >>, <<, ==, !=, >, <, >=, <= commit fb4a0ed2e5600bcbaed6efe38fdcad55a96d6a31 Merge: a1115d4 2cf4f7c Author: keiths Date: Fri Jul 9 10:56:05 2010 -0700 Merge branch 'archer-cpparser-branch' of ssh://sourceware.org/git/archer into archer-cpparser-branch commit 2cf4f7c83eade0a560ceb81c92a289482384c708 Author: Sergio Durigan Junior Date: Wed Jul 7 19:05:54 2010 -0300 cparser: Added the mod (`%') operation. commit a1115d458935ee121ef39560a6633ac432ab7729 Author: keiths Date: Fri Jun 25 13:35:43 2010 -0700 * cparser.c (c_parse): Free the parser token fifo, too. commit 2aebc35d20b813f1d59b9428e80173021ff4d878 Author: keiths Date: Fri Jun 25 12:20:27 2010 -0700 Simple calculator implemented commit b294ce655bcdd978843343018950868037e17497 Author: keiths Date: Thu May 13 13:49:59 2010 -0700 Initial check-in of new parser infrastructure, which means it doesn't do anything at all... ----------------------------------------------------------------------- hooks/post-receive -- Repository for Project Archer.