mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-10-04 16:08:34 +00:00
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
This commit is contained in:
committed by
David Malcolm
parent
9b972837bd
commit
05945a1b83
@@ -1,3 +1,9 @@
|
||||
2017-06-05 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* include/cpplib.h (struct cpp_callbacks): Add "comment"
|
||||
callback.
|
||||
* lex.c (_cpp_lex_direct): Call the comment callback if non-NULL.
|
||||
|
||||
2017-05-02 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* include/line-map.h (class rich_location): Update description of
|
||||
|
||||
Reference in New Issue
Block a user