gcc/libcpp/include
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
..
cpp-id-data.h Update copyright years. 2017-01-01 13:07:43 +01:00
cpplib.h libcpp: add callback for comment-handling 2017-06-05 20:53:06 +00:00
line-map.h Support fix-it hints that add new lines 2017-05-02 19:03:56 +00:00
mkdeps.h Update copyright years. 2017-01-01 13:07:43 +01:00
symtab.h Update copyright years. 2017-01-01 13:07:43 +01:00