gcc/libcpp
David Malcolm 05945a1b83 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
2017-06-05 20:53:06 +00:00
..
include libcpp: add callback for comment-handling 2017-06-05 20:53:06 +00:00
po Regenerate .pot files. 2017-05-01 23:28:02 +01:00
aclocal.m4
ChangeLog libcpp: add callback for comment-handling 2017-06-05 20:53:06 +00:00
ChangeLog.jit
charset.c
config.in
configure
configure.ac
directives-only.c
directives.c
errors.c
expr.c
files.c
identifiers.c
init.c
internal.h
lex.c libcpp: add callback for comment-handling 2017-06-05 20:53:06 +00:00
line-map.c Support fix-it hints that add new lines 2017-05-02 19:03:56 +00:00
location-example.txt
macro.c
Makefile.in
makeucnid.c
mkdeps.c
pch.c
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab