]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cpphash.h
cpphash.h (struct cpp_reader): New member directive_line.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sat, 4 Aug 2001 16:28:14 +0000 (16:28 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 4 Aug 2001 16:28:14 +0000 (16:28 +0000)
commit8bbbef343486eea56bb5c9ebf241c0872e4083b3
treed9a94dd57cbcb162a1616b5fe4623e5c76a95412
parent95146dd651f1e96713c9eaeaa14bc61362b3f2f4
cpphash.h (struct cpp_reader): New member directive_line.

* cpphash.h (struct cpp_reader): New member directive_line.
* cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
* cpplib.c (do_define, do_undef, do_ident, do_include_common,
do_pragma): Pass line to callbacks.
(start_directive): Record line of directive.
* cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
cb_include): Similarly.
* c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
Similarly.

From-SVN: r44637
gcc/ChangeLog
gcc/c-lex.c
gcc/cpphash.h
gcc/cpplib.c
gcc/cpplib.h
gcc/cppmain.c