]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
cpplib.h (cpp_comments, [...]): New structs.
authorMatthew Gingell <gingell@adacore.com>
Sun, 5 Oct 2008 12:35:36 +0000 (12:35 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Sun, 5 Oct 2008 12:35:36 +0000 (14:35 +0200)
commit631d0d36105c07f3e8c4127d252f83dbabbd40a3
tree4d3817d3b652d403b257af245aaef0fa4682d210
parent7a90b0ca0cbfa54ad48717911badcb1632f4b3fa
cpplib.h (cpp_comments, [...]): New structs.

2008-10-05  Matthew Gingell  <gingell@adacore.com>
    Arnaud Charlet  <charlet@adacore.com>

* include/cpplib.h (cpp_comments, cpp_comment_table): New structs.
(cpp_get_comments): New function.
* internal.h (struct cpp_reader): Add comments field.
* init.c (cpp_destroy): Free comments.
* lex.c (store_comment, cpp_get_comments): New functions.
(comments): New struct.
(save_comment): Store comments in comments struct.

Co-Authored-By: Arnaud Charlet <charlet@adacore.com>
From-SVN: r140883
libcpp/ChangeLog
libcpp/include/cpplib.h
libcpp/init.c
libcpp/internal.h
libcpp/lex.c