]> gcc.gnu.org Git - gcc.git/commit - gcc/cppinit.c
cpperror.c (print_file_and_line): If line is (unsigned int)-1, print just the filename.
authorZack Weinberg <zack@wolery.cumb.org>
Tue, 29 Aug 2000 18:37:37 +0000 (18:37 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Tue, 29 Aug 2000 18:37:37 +0000 (18:37 +0000)
commit2c8f0515bbed378f1e87e1b52e2913d058cbed16
tree7f03453e92f612da7c6531488d3878a73dbda657
parent5c5d1cd68a748299a244a6b9fd7c3fce2f09d582
cpperror.c (print_file_and_line): If line is (unsigned int)-1, print just the filename.

* 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.

From-SVN: r36043
gcc/ChangeLog
gcc/cpperror.c
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplex.c
gcc/cpplib.c
gcc/tradcpp.c
This page took 0.06271 seconds and 5 git commands to generate.