libcpp: add callback for comment-handling
gcc/testsuite/ChangeLog: * g++.dg/plugin/comment_plugin.c: New test plugin. * g++.dg/plugin/comments-1.C: New test file. * g++.dg/plugin/plugin.exp (plugin_test_list): Add the above. libcpp/ChangeLog: * include/cpplib.h (struct cpp_callbacks): Add "comment" callback. * lex.c (_cpp_lex_direct): Call the comment callback if non-NULL. From-SVN: r248901
Showing
gcc/testsuite/g++.dg/plugin/comment_plugin.c
0 → 100644
gcc/testsuite/g++.dg/plugin/comments-1.C
0 → 100644
Please
register
or
sign in
to comment