This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r167041 - in /branches/gimple-front-end/gcc/gim...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 22 Nov 2010 17:41:47 -0000
- Subject: r167041 - in /branches/gimple-front-end/gcc/gim...
Author: dnovillo
Date: Mon Nov 22 17:41:46 2010
New Revision: 167041
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167041
Log:
* Make-lang.in (GIMPLE_PARSER_H): Add CPPLIB_H and VEC_H
(gimple-lang.o, parser.o): Fix dependencies.
* parser.h: Include cpplib.h and vec.h.
(struct gimple_lexer): Define.
(struct gimple_parser): Define.
(gimple_token): Define.
* config-lang.in (gtfiles): Add parser.h and parser.c
* gimple-lang.c: Do not include flags.h nor tm.h.
(handle_leaf_attribute): New.
(gimple_attributes): Add attribute 'leaf'.
* parser.c: Do not include cpplib.h nor input.h.
Include toplev.h, timevar.h.
Move include of ggc.h earlier in the file.
Change all references to cpp_token with gimple_token.
(parser_gc_root__): New.
(gl_init): New.
(gp_init): New.
(gl_lex): New.
(gl_consume_token): New.
(gp_parse): New.
(gp_finish): New.
(gimple_main): Call gp_init, gl_lex, gp_parse and
gp_finish.
Modified:
branches/gimple-front-end/gcc/gimple/ChangeLog
branches/gimple-front-end/gcc/gimple/Make-lang.in
branches/gimple-front-end/gcc/gimple/config-lang.in
branches/gimple-front-end/gcc/gimple/gimple-lang.c
branches/gimple-front-end/gcc/gimple/parser.c
branches/gimple-front-end/gcc/gimple/parser.h