r248901 - in /trunk: gcc/testsuite/ChangeLog gc...
dmalcolm@gcc.gnu.org
dmalcolm@gcc.gnu.org
Mon Jun 5 20:53:00 GMT 2017
Author: dmalcolm
Date: Mon Jun 5 20:53:06 2017
New Revision: 248901
URL: https://gcc.gnu.org/viewcvs?rev=248901&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/plugin/comment_plugin.c
trunk/gcc/testsuite/g++.dg/plugin/comments-1.C
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/plugin/plugin.exp
trunk/libcpp/ChangeLog
trunk/libcpp/include/cpplib.h
trunk/libcpp/lex.c
More information about the Gcc-cvs
mailing list