This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to use libcpp (GCC c lexer)


Hello Ian,

2012/10/9 Ian Lance Taylor <iant@google.com>:
> [...]
> In current mainline, the main call from gcc to libcpp is in
> gcc/c-family/c-lex.c, which calls cpp_get_token and
> cpp_get_token_with_location.  The cpp_reader is set up by the call to
> cpp_create_reader in c_common_init_options in c-family/c-opts.c.
>
> Ian

thank you very much for your answer.

Cheers,
Giovanni


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]