how to use libcpp (GCC c lexer)
Giovanni Gherdovich
g.gherdovich@gmail.com
Tue Oct 9 16:40:00 GMT 2012
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
More information about the Gcc-help
mailing list