* cpperror.c (print_file_and_line): If line is (unsigned int)-1,
commita336277c692cea90bb63fcf75ccbf01c3e1a3e9a
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2000 18:37:37 +0000 (29 18:37 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2000 18:37:37 +0000 (29 18:37 +0000)
tree7f03453e92f612da7c6531488d3878a73dbda657
parentec7e3935402d770a49566f50c297e3891ae3c92d
* cpperror.c (print_file_and_line): If line is (unsigned int)-1,
print just the filename.
* cpplex.c (_cpp_run_directive): Add additional argument, the
name to give the synthetic buffer.  This defaults to
translated "<command line>".
* cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
Adjust to match.
(_cpp_define_builtin): New function.
* cppinit.c (initialize_builtins): Use _cpp_define_builtin.
* cpphash.h: Update prototypes.

* tradcpp.c (main): Process -D and -U simultaneously, in the
order they appeared on the command line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36043 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpperror.c
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplex.c
gcc/cpplib.c
gcc/tradcpp.c