OSDN Git Service

libcpp:
[pf3gnuchains/gcc-fork.git] / libcpp / ChangeLog
1 2004-06-05  Zack Weinberg  <zack@codesourcery.com>
2
3         * Makefile.am: Add makedepend.
4         * Makefile.in, aclocal.m4: Regenerate.
5         * charset.c: Insert a space to avoid a warning.
6         * directives.c: Include mkdeps.h.
7         (_cpp_handle_directive): Reenable macro expander if appropriate.
8         (undefine_macros): Inline body of _cpp_free_definition for speed.
9         Do not call undef callback or _cpp_warn_if_unused_macro.
10         (cpp_get_deps): New interface.
11         * files.c (search_cache): Add pfile argument.  Check for file
12         that would be found by "" or <> search here...
13         (_cpp_find_file): ...not here.  Correct recorded start_dir of
14         files found by directory-of-current-file search that would be
15         found by "" or <> search.
16         * init.c (cpp_add_dependency_target): Delete.
17         * internal.h (struct lexer_state): Add discarding_output flag.
18         * lex.c (lex_identifier): Compute hash function while scanning.
19         * macro.c (cpp_scan_nooutput): Disable macro expansion outside
20         directives.
21         * makedepend.c: New file.
22         * mkdeps.c (struct deps): Add vpath vector.
23         (apply_vpath, deps_add_vpath): New function.
24         (deps_free): Free vpath vector.
25         (deps_add_dep, deps_add_target): Use apply_vpath.
26         * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
27         (ht_lookup_with_hash): New function.
28         * cpplib.h, mkdeps.h: Update prototypes.
29         * symtab.h: Update prototypes.
30         (HT_HASHSTEP, HT_FINISH): New macros.
31
32 2004-05-29  Geoffrey Keating  <geoffk@apple.com>
33
34         * symtab.c (ht_create): Set entries_owned.
35         (ht_destroy): Honour entries_owned.
36         (ht_expand): Likewise.
37         (ht_load): New.
38
39 2004-05-26  Paolo Bonzini  <bonzini@gnu.org>
40
41         PR bootstrap/15651
42         * configure.ac: Fix m4 quoting when picking
43         the size of HOST_WIDE_INT.
44         * configure: Regenerate.
45
46 2004-05-25  Paolo Bonzini  <bonzini@gnu.org>
47
48         * Makefile.am: the correct directory for
49         gettext include files is given by @INCINTL@.
50         * Makefile.in: Regenerate.
51
52 2004-05-24  Paolo Bonzini  <bonzini@gnu.org>
53
54         * system.h [!ENABLE_NLS]: dgettext takes two
55         parameters.
56
57 2004-05-23  Paolo Bonzini  <bonzini@gnu.org>
58
59         Moved libcpp from the gcc subdirectory to the toplevel.
60         * Makefile.am: New file.
61         * Makefile.in: Regenerate.
62         * configure.ac: New file.
63         * configure: Regenerate.
64         * config.in: Regenerate.
65         * charset.c: Moved from gcc/cppcharset.c.  Add note about
66         brokenness of input charset detection.  Adjust for change
67         in name of cppucnid.h.
68         * errors.c: Moved from gcc/cpperror.c.  Do not include intl.h.
69         * expr.c: Moved from gcc/cppexp.c.
70         * files.c: Moved from gcc/cppfiles.c.  Do not include intl.h.
71         Remove #define of O_BINARY, it is in system.h.
72         * identifiers.c: Moved from gcc/cpphash.c.
73         * internal.h: Moved from gcc/cpphash.h.  Change header
74         guard name.  All other files adjusted to match name change.
75         * init.c: Moved from gcc/cppinit.c.
76         (init_library) [ENABLE_NLS]: Call bindtextdomain.
77         * lex.c: Moved from gcc/cpplex.c.
78         * directives.c: Moved from gcc/cpplib.c.
79         * macro.c: Moved from gcc/cppmacro.c.
80         * pch.c: Moved from gcc/cpppch.c.  Do not include intl.h.
81         * traditional.c: Moved from gcc/cpptrad.c.
82         * ucnid.h: Moved from gcc/cppucnid.h.  Change header
83         guard name.
84         * ucnid.pl: Moved from gcc/cppucnid.pl.
85         * ucnid.tab: Moved from gcc/cppucnid.tab.  Change header
86         guard name.
87         * symtab.c: Moved from gcc/hashtable.c.
88         * line-map.c: Moved from gcc.  Do not include intl.h.
89         * mkdeps.c: Moved from gcc.
90         * system.h: New file.
91