diff options
author | Jeremie Salvucci <jeremie.salvucci@free.fr> | 2010-10-14 15:56:12 +0200 |
---|---|---|
committer | Basile Starynkevitch <bstarynk@gcc.gnu.org> | 2010-10-14 13:56:12 +0000 |
commit | f8ed6dc529088cab9d586e9b3f06492e27f862fc (patch) | |
tree | 1d3285b2f57ab16f7f07a313761dda7c317de69a /gcc/objc/objc-lang.c | |
parent | 560d6bd5b53d6e9b92cf25b9dcb53590f830c45e (diff) | |
download | gcc-f8ed6dc529088cab9d586e9b3f06492e27f862fc.zip gcc-f8ed6dc529088cab9d586e9b3f06492e27f862fc.tar.gz gcc-f8ed6dc529088cab9d586e9b3f06492e27f862fc.tar.bz2 |
gengtype.c: Include getopt.h and version.h.
2010-10-14 Jeremie Salvucci <jeremie.salvucci@free.fr>
Basile Starynkevitch <basile@starynkevitch.net>
* gcc/gengtype.c: Include getopt.h and version.h.
(lang_bitmap, struct outf, outf_p)
(get_output_file_with_visibility, oprintf): Definitions moved to
gengtype.h
(output_files, header_file, srcdir, srcdir_len, this_file)
(do_dump): No more static variables.
(do_debug): New.
(dbgprint_count_type_at): Added new function.
(gengtype_long_options): New.
(print_usage, print_version, parse_program_options): New.
(main): Call parse_program_options, and removed old option
handling code. Added some debug output.
* gcc/gengtype.h: Updated copyright year.
(lang_bitmap, struct outf, outf_p, header_file, oprintf)
(get_output_file_with_visibility, srcdir, srcdir_len, do_dump):
Moved from gengtype.c to here.
(do_debug, read_state_filename, write_state_filename): New
variables. (DBGPRINTF, DBGPRINT_COUNT_TYPE): New macros.
* gcc/Makefile.in:
(REVISION): Always defined.
(version.o): Removed ifdef REVISION_c.
(s-gtype): Pass arguments to build/gengtype program.
(build/version.o): Added building rule.
(build/gengtype$(build_exeext)): Added build/version.o.
Co-Authored-By: Basile Starynkevitch <basile@starynkevitch.net>
From-SVN: r165470
Diffstat (limited to 'gcc/objc/objc-lang.c')
0 files changed, 0 insertions, 0 deletions