]>
Commit | Line | Data |
---|---|---|
b8273627 | 1 | 2005-03-19 Joseph S. Myers <joseph@codesourcery.com> |
2 | ||
3 | * configure.ac: Consistently use solaris2.1[0-9]* instead of | |
4 | solaris2.1[0-9]. | |
5 | * configure: Regenerate. | |
6 | ||
bc65f24f | 7 | 2005-03-15 Geoffrey Keating <geoffk@apple.com> |
8 | ||
9 | * charset.c (_cpp_valid_ucn): In identifiers, reject a partial | |
10 | UCN rather than printing an error. | |
11 | ||
bce47149 | 12 | 2005-03-14 Geoffrey Keating <geoffk@apple.com> |
13 | ||
4e9d1e6d | 14 | * lex.c (forms_identifier_p): Disable UCNs in C89 mode. |
15 | ||
16 | 2005-03-14 Geoffrey Keating <geoffk@apple.com> | |
17 | ||
bce47149 | 18 | * init.c (cpp_create_reader): Default warn_normalize to normalized_C. |
19 | * charset.c: Update for new format of ucnid.h. | |
20 | (ucn_valid_in_identifier): Update for new format of ucnid.h. | |
21 | Add NST parameter, and update it; update callers. | |
22 | (cpp_valid_ucn): Add NST parameter, update callers. Replace abort | |
23 | with cpp_error. | |
24 | (convert_ucn): Pass normalize_state to cpp_valid_ucn. | |
25 | * internal.h (struct normalize_state): New. | |
26 | (INITIAL_NORMALIZE_STATE): New. | |
27 | (NORMALIZE_STATE_RESULT): New. | |
28 | (NORMALIZE_STATE_UPDATE_IDNUM): New. | |
29 | (_cpp_valid_ucn): New. | |
30 | * lex.c (warn_about_normalization): New. | |
31 | (forms_identifier_p): Add normalize_state parameter, update callers. | |
32 | (lex_identifier): Add normalize_state parameter, update callers. Keep | |
33 | the state current. | |
34 | (lex_number): Likewise. | |
35 | (_cpp_lex_direct): Pass normalize_state to subroutines. Check | |
36 | it with warn_about_normalization. | |
37 | * makeucnid.c: New. | |
38 | * ucnid.h: Replace. | |
39 | * ucnid.pl: Remove. | |
40 | * ucnid.tab: Make appropriate for input to makeucnid.c. Remove | |
41 | comments about obsolete version of C++. | |
42 | * include/cpplib.h (enum cpp_normalize_level): New. | |
43 | (struct cpp_options): Add warn_normalize field. | |
44 | ||
bb1fa6bb | 45 | 2005-03-11 Geoffrey Keating <geoffk@apple.com> |
46 | ||
47 | * directives.c (glue_header_name): Update call to cpp_spell_token. | |
48 | * internal.h (_cpp_interpret_identifier): New. | |
49 | * charset.c (_cpp_interpret_identifier): New. | |
50 | (_cpp_valid_ucn): Allow UCN version of '$'. | |
51 | * lex.c (lex_identifier): Add extra parameter to indicate if initial | |
52 | character was '$' or '\'. Support identifiers with UCNs. | |
53 | (forms_identifier_p): Allow UCNs. | |
54 | (_cpp_lex_direct): Pass extra parameter to lex_identifier. | |
55 | (utf8_to_ucn): New. | |
56 | (cpp_spell_token): Add FORSTRING parameter. Use it. | |
57 | (cpp_token_as_text): Update call to cpp_spell_token. | |
58 | (cpp_output_token): Write UCNs back out. | |
59 | (stringify_arg): Update call to cpp_spell_token. | |
60 | (paste_tokens): Likewise. | |
61 | (cpp_macro_definition): Likewise. | |
62 | * macro.c (stringify_arg): Likewise. | |
63 | (paste_tokens): Likewise. | |
64 | (cpp_macro_definition): Likewise. | |
65 | * include/cpplib.h: Add parameter to cpp_spell_token. | |
66 | ||
960391da | 67 | 2005-03-04 Jakub Jelinek <jakub@redhat.com> |
68 | ||
69 | PR bootstrap/20282 | |
70 | PR bootstrap/20305 | |
71 | * macro.c (replace_args, cpp_get_token): Copy whole | |
72 | cpp_token_u instead of just cpp_string field from it. | |
73 | ||
b0d0794d | 74 | 2005-02-28 Devang Patel <dpatel@apple.com> |
75 | ||
76 | * directives.c (do_line): Save sysp early before line table is | |
77 | realloc'ed. | |
78 | ||
624d37a6 | 79 | 2005-02-20 Zack Weinberg <zack@codesourcery.com> |
80 | ||
81 | PR 18785 | |
82 | * charset.c (LAST_POSSIBLY_BASIC_SOURCE_CHAR): New helper macro. | |
83 | (cpp_host_to_exec_charset): New function. | |
84 | * include/cpplib.h: Declare cpp_host_to_exec_charset. | |
85 | ||
f86986bc | 86 | 2005-02-19 Devang Patel <dpatel@apple.com> |
87 | ||
88 | * charset.c (_cpp_convert_input): Check '\r' before inserting | |
89 | '\n' at the end. | |
624d37a6 | 90 | |
9936e07d | 91 | 2005-02-15 Eric Christopher <echristo@redhat.com> |
92 | ||
93 | PR preprocessor/19077 | |
94 | * macro.c (cpp_macro_definition): Move handling of whitespace | |
95 | to PREV_WHITE conditional. Remove overloading of len | |
96 | variable. | |
97 | ||
129a1540 | 98 | 2005-02-14 Kazu Hirata <kazu@cs.umass.edu> |
99 | ||
100 | * directives.c, files.c, init.c, internal.h, macro.c, pch.c, | |
101 | traditional.c: Update copyright. | |
102 | ||
bb30d1f4 | 103 | 2005-02-14 Paolo Bonzini <bonzini@gnu.org> |
104 | ||
105 | PR bootstrap/19818 | |
106 | * configure.ac: Check for declaration of basename and getopt. | |
107 | * config.in: Regenerate. | |
108 | * configure: Regenerate. | |
109 | * internal.h (ustrcspn): New. | |
110 | * macro.c (create_iso_definition): Fix allocation of memory. | |
111 | (padding_token): Add cast to remove const-ness. | |
112 | * pch.c (cpp_read_state): Use ustrcspn. | |
113 | ||
26ec4f15 | 114 | 2005-02-08 Mike Stump <mrs@apple.com> |
115 | ||
116 | * files.c (pchf_adder): Remove. | |
117 | (struct pchf_adder_info): Likewise. | |
118 | (_cpp_save_file_entries): Write out all files so that #import works. | |
119 | ||
0cb78cbd | 120 | 2005-01-23 Joseph S. Myers <joseph@codesourcery.com> |
121 | ||
122 | * configure: Regenerate. | |
123 | ||
d862067c | 124 | 2005-01-11 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> |
125 | ||
126 | * include/cpplib.h (c_lang): Fix comment to say cpp_create_reader. | |
127 | ||
457e71e4 | 128 | * include/cpplib.h: Also update copyright years. |
624d37a6 | 129 | |
ba841ef8 | 130 | 2005-01-03 Geoffrey Keating <geoffk@apple.com> |
131 | ||
132 | * files.c (_cpp_find_file): Add files found by search_path_exhausted | |
133 | to the list of all files. | |
134 | ||
f03668bd | 135 | 2005-01-01 Gabriel Dos Reis <gdr@integrable-solutions.net> |
136 | ||
137 | * internal.h: Update references to Cpp lib filenames. | |
138 | * directives.c: Likewise. | |
139 | * init.c: Likewise. | |
140 | * macro.c: Likewise. | |
141 | * traditional.c: Likewise. | |
142 | ||
461ea98d | 143 | 2004-12-15 Eric Botcazou <ebotcazou@libertysurf.fr> |
144 | ||
145 | PR preprocessor/15167 | |
146 | * files.c (destroy_cpp_file): New function. | |
147 | (should_stack_file): Make a new file if the | |
148 | compared file is still stacked. | |
149 | ||
bd9e37a6 | 150 | 2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org> |
151 | ||
624d37a6 | 152 | PR preprocessor/17610 |
bd9e37a6 | 153 | * directives.c (do_include_common): Error out if an empty filename |
154 | is given for #include (or #include_next or #import). | |
155 | ||
fe4dcd90 | 156 | 2004-11-27 Roger Sayle <roger@eyesopen.com> |
157 | Zack Weinberg <zack@codesourcery.com> | |
158 | ||
159 | * internal.h: Replace all uses of uchar with unsigned char. | |
160 | * include/cpp-id-data.h: Likewise. Guard typedef of uchar | |
161 | with !IN_GCC, so uchar is only defined whilst building libcpp. | |
162 | ||
ac7cc2f4 | 163 | 2004-11-24 Kelley Cook <kcook@gcc.gnu.org> |
164 | ||
165 | * aclocal.m4: Regenerate. | |
166 | ||
6e11b263 | 167 | 2004-11-24 Roger Sayle <roger@eyesopen.com> |
168 | ||
169 | PR preprocessor/15824 | |
170 | * configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h> | |
171 | directly, instead of the non-existant "system.h" and "ansidecl.h". | |
172 | * configure: Regenerate. | |
173 | ||
68bf2ad9 | 174 | 2004-11-23 Daniel Jacobowitz <dan@codesourcery.com> |
624d37a6 | 175 | Joseph Myers <joseph@codesourcery.com> |
68bf2ad9 | 176 | |
177 | * internal.h (struct lexer_state): Add in_deferred_pragma. | |
178 | * directives.c (struct pragma_entry): Add allow_expansion. | |
179 | (insert_pragma_entry): Take allow_expansion flag. | |
180 | (register_pragma): Likewise. | |
181 | (cpp_register_pragma): Likewise. | |
182 | (_cpp_init_internal_pragmas): Update calls to cpp_register_pragma. | |
183 | (do_pragma): Honor allow_expansion. | |
184 | (cpp_handle_deferred_pragma): Set in_deferred_pragma. | |
185 | * include/cpplib.h (cpp_register_pragma): Update prototype. | |
186 | ||
27559c4e | 187 | 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com> |
624d37a6 | 188 | Mark Mitchell <mark@codesourcery.com> |
27559c4e | 189 | |
190 | * configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set | |
191 | need_64bit_hwint=yes. | |
192 | * configure: Regenerate. | |
193 | ||
34ae664d | 194 | 2004-11-09 Joseph S. Myers <joseph@codesourcery.com> |
195 | ||
196 | * Makefile.in ($(PACKAGE).pot): New rule. Depend on | |
197 | po/$(PACKAGE).pot. | |
198 | (po/$(PACKAGE).pot): Use ":" instead of "," in --keyword | |
199 | arguments. Add keywords _, N_, SYNTAX_ERROR and SYNTAX_ERROR2. | |
200 | Remove local srcdir path from generated file. | |
201 | ||
39b83bdb | 202 | 2004-11-04 Zack Weinberg <zack@codesourcery.com> |
624d37a6 | 203 | Gerald Pfeifer <gerald@pfeifer.com> |
39b83bdb | 204 | |
205 | * internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H | |
206 | as well. | |
207 | ||
a095c1b5 | 208 | 2004-10-27 Zack Weinberg <zack@codesourcery.com> |
209 | ||
210 | PR 18075 | |
211 | * directives.c (do_pragma): Do not defer pragmas which are unknown. | |
212 | (cpp_handle_deferred_pragma): Add cast to silence warning. | |
213 | ||
700b0d81 | 214 | 2004-10-14 Joseph S. Myers <jsm@polyomino.org.uk> |
215 | ||
216 | * errors.c (_cpp_begin_message): Print "error: " for errors. | |
217 | ||
fbe83ac1 | 218 | 2004-10-10 Andreas Jaeger <aj@suse.de> |
219 | ||
220 | * makedepend.c: Include mkdeps.h for prototype of deps_add_vpath. | |
221 | * Makefile.in (makedepend.o): Add dependency on mkdeps.h. | |
222 | ||
09f10c94 | 223 | 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> |
224 | ||
225 | * pch.c (cpp_write_pch_state): Remove variable z as it is not | |
226 | used. | |
227 | (cpp_read_state): Remove unused variables, m, d and mac_count. | |
228 | ||
a8b2a8d5 | 229 | 2004-09-29 Per Bothner <per@bothner.com> |
230 | ||
231 | * directives.c (cpp_handle_deferred_pragma): Save, clear and restore | |
232 | cb.line_change. Otherwise do_pragma will call the line_change | |
233 | call-back with a meaningless line number. | |
234 | ||
21164c01 | 235 | 2004-09-24 Zack Weinberg <zack@codesourcery.com> |
236 | ||
237 | * configure.ac: Move AC_PROG_MAKE_SET, AC_PROG_INSTALL to | |
238 | programs cluster. Use ACX_PROG_CC_WARNING_OPTS, | |
239 | ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_PROG_CC_WARNINGS_ARE_ERRORS. | |
240 | * aclocal.m4, configure: Regenerate. | |
241 | * init.c: Include localedir.h. | |
242 | * Makefile.in (WARN_CFLAGS, ALL_CFLAGS): New variables. | |
243 | (DEFS): Delete. | |
244 | (.c.o): Use $(ALL_CFLAGS). | |
245 | (localedir.h, localedir.hs): New rules. | |
246 | (clean): Use rm -rf to remove directories. | |
247 | (distclean): Also delete localedir.h and localedir.hs. | |
248 | (init.o): Update dependencies. | |
249 | ||
986086aa | 250 | 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> |
251 | ||
252 | * Makefile.in (aclocal.m4): Update dependencies. | |
253 | * configure.ac (AC_CONFIG_MACRO_DIR): New. | |
254 | * aclocal.m4, configure: Regenerate. | |
255 | ||
e9cc3617 | 256 | 2004-09-17 Zack Weinberg <zack@codesourcery.com> |
257 | ||
0097f6a2 | 258 | * charset.c (_cpp_destroy_iconv, emit_numeric_escape) |
259 | (_cpp_convert_input, _cpp_default_encoding): Add comments. | |
260 | Some other comments in this file also tweaked. | |
261 | ||
e9cc3617 | 262 | * directives.c (do_pragma): Save current buffer position |
263 | before lexing the pragma keywords; don't call | |
264 | _cpp_backup_tokens in the defer_pragmas case. | |
265 | ||
9832c977 | 266 | 2004-09-15 Per Bothner <per@bothner.com> |
267 | ||
268 | * include/line-map.h (line_map_start): Add parameter names so | |
269 | preceding comment makes sense. | |
270 | (linemap_add): Remove from comment mention of non-existing parameter. | |
271 | ||
d6d3c909 | 272 | 2004-09-09 Matt Austern <austern@apple.com> |
273 | Zack Weinberg <zack@codesourcery.com> | |
274 | ||
275 | * include/cpplib.h (TTYPE_TABLE): Remove CPP_ and SPELL_ | |
276 | prefixes throughout. Add entry for PRAGMA. Remove | |
277 | unnecessary "= 0" from EQ. | |
278 | (enum cpp_ttype): Adjust OP and TK definitions to restore | |
279 | prefixes, via token-paste. | |
280 | (CPP_LAST_EQ, CPP_FIRST_DIGRAPH, CPP_LAST_PUNCTUATOR, CPP_LAST_CPP_OP): | |
281 | Change from #defines to additional cpp_ttype enumerators. | |
282 | (struct cpp_options): Add defer_pragmas. | |
283 | (cpp_handle_deferred_pragma): Prototype new interface. | |
284 | ||
285 | * internal.h (struct cpp_reader): Add directive_result. | |
286 | * directives.c (struct pragma_entry): Add is_internal field; | |
287 | give boolean fields type bool. | |
288 | (start_directive): Initialize pfile->directive_result.type. | |
289 | (_cpp_do__Pragma): Likewise. | |
290 | (run_directive): Do not crash if pfile->buffer->prev is NULL. | |
291 | (insert_pragma_entry): Add 'internal' argument; set new->is_internal | |
292 | from it. | |
293 | (register_pragma): New static function, bulk of former | |
294 | cpp_register_pragma here; add 'internal' argument, pass along | |
295 | to insert_pragma_entry. | |
296 | (cpp_register_pragma): Now a wrapper around register_pragma which | |
297 | always passes false for 'internal' argument. | |
298 | (_cpp_init_internal_pragmas): Call register_pragma directly, passing | |
299 | true for 'internal'. | |
300 | (do_pragma): If CPP_OPTION (pfile, defer_pragmas) and this isn't | |
301 | an internal pragma, save text till the end of the line as a CPP_PRAGMA | |
302 | token instead of executing the pragma. | |
303 | (cpp_handle_deferred_pragma): New interface. | |
304 | * lex.c (token_spellings): Adjust OP and TK definitions to | |
305 | match changes to cpplib.h. | |
306 | (_cpp_lex_token): Check for a directive-result token and | |
307 | return it if present. | |
308 | (cpp_token_val_index): Handle CPP_PRAGMA. | |
309 | * macro.c (cpp_builtin_macro_text): Correct comment. | |
310 | (builtin_macro): Handle directive-result tokens from _cpp_do__Pragma. | |
311 | ||
735a9bc4 | 312 | 2004-09-06 Serge Belyshev <belyshev@lubercy.com> |
313 | ||
314 | PR preprocessor/14699 | |
315 | * symtab.c (ht_dump_statistics): Change type of sum_of_squares | |
316 | from size_t to double. | |
317 | ||
25696d3f | 318 | 2004-08-28 Andreas Schwab <schwab@suse.de> |
319 | Andreas Jaeger <aj@suse.de> | |
320 | ||
321 | * configure.ac: Set PACKAGE correctly. | |
322 | * configure: Regenerated. | |
323 | ||
99439f5b | 324 | 2004-08-25 Paolo Bonzini <bonzini@gnu.org> |
325 | ||
326 | * Makefile.in: Add back top_builddir. | |
327 | ||
a668be26 | 328 | 2004-08-25 Paolo Bonzini <bonzini@gnu.org> |
329 | ||
330 | * configure.ac: Replace Automake macro invocations | |
331 | with manual Autoconf checks and substitutions. | |
332 | * configure: Regenerate. | |
333 | * aclocal.m4: Regenerate. | |
334 | * config.in: Regenerate. | |
335 | * Makefile.am: Removed. | |
336 | * Makefile.in: Heavy simplification and reorganization. | |
337 | ||
30e9913f | 338 | 2004-08-09 Mark Mitchell <mark@codesourcery.com> |
339 | ||
340 | * configure.ac (arm*-*-eabi*): New target. | |
341 | (arm*-*-symbianelf*): Likewise. | |
342 | * configure: Regenerated. | |
343 | ||
3b298764 | 344 | 2004-07-24 Bernardo Innocenti <bernie@develer.com> |
345 | ||
346 | * internal.h (xnew, xcnew, xnewvec, xcnewvec, xobnew): Remove. | |
347 | * directives.c: Use XNEW-family macros from libiberty. | |
348 | * lex.c: Likewise. | |
349 | * macro.c: Likewise. | |
350 | * cpplib.h (cpp_deps_style): Export enum with name. | |
351 | ||
d6d3c909 | 352 | 2004-07-23 Matthias Klose <doko@debian.org> |
3b298764 | 353 | |
d6d3c909 | 354 | * init.c (init_library): Use PACKAGE for the text domain. |
1ed7d058 | 355 | |
821fa045 | 356 | 2004-07-16 Andris Pavenis <pavenis@latnet.lv> |
357 | ||
358 | PR preprocessor/16366 | |
359 | * internal.h (struct cpp_reader): New field dir_hash. | |
360 | * files.c (make_cpp_dir): Use dir_hash, not file_hash. | |
361 | (_cpp_init_files, _cpp_cleanup_files): Update for new field. | |
362 | ||
d80efa72 | 363 | 2004-07-04 Neil Booth <neil@duron.akihabara.co.uk> |
364 | ||
365 | PR preprocessor/16192 | |
366 | PR preprocessor/15913 | |
367 | PR preprocessor/15572 | |
368 | * expr.c (_cpp_parse_expr): Handle remaining cases where an | |
369 | expression is missing. | |
370 | * init.c (post_options): Traditional cpp doesn't do // comments. | |
371 | ||
ed000086 | 372 | 2004-06-30 Per Bothner <per@bothner.com> |
373 | ||
374 | * include/line-map.h (fileline): Remove old typedef. | |
375 | * internal.h (struct cpp_reader): Use source_location typedef instead. | |
376 | ||
dcb9d064 | 377 | 2004-06-26 Zack Weinberg <zack@codesourcery.com> |
378 | ||
379 | Partially revert patch of 2004-06-05. | |
380 | * files.c (search_cache): Remove pfile argument. Don't check | |
381 | for file that would be found by "" or <> search here... | |
382 | (_cpp_find_file): ...do it here, before calling find_file_in_dir. | |
383 | Do not apply directory-of-current-file correction to files | |
384 | found by this check. Rearrange code slightly. | |
385 | ||
d718b525 | 386 | 2004-06-21 Geoffrey Keating <geoffk@apple.com> |
387 | ||
388 | * files.c (should_stack_file): Correct swapped parameters to call | |
389 | to cb.read_pch. | |
390 | * pch.c (cpp_valid_state): Handle -fpreprocessed. | |
391 | ||
79b68529 | 392 | 2004-06-15 Paolo Bonzini <bonzini@gnu.org> |
393 | ||
394 | * Makefile.in: Regenerate with automake 1.8.5. | |
395 | * aclocal.m4: Likewise. | |
396 | * configure: Regenerate. | |
397 | ||
151899c5 | 398 | 2004-06-11 Zack Weinberg <zack@codesourcery.com> |
399 | ||
400 | * configure.ac: Don't invoke ACX_HEADER_STDBOOL. | |
401 | * configure, config.in: Regenerate. | |
402 | * system.h: Unconditionally define bool as unsigned char, | |
403 | BOOL_BITFIELD as unsigned int. | |
404 | * .cvsignore: New file. | |
405 | ||
c39ed964 | 406 | 2004-06-09 Geoffrey Keating <geoffk@apple.com> |
407 | ||
408 | * traditional.c (push_replacement_text): Set macro->traditional. | |
409 | (save_replacement_text): Likewise. | |
410 | * pch.c (cpp_write_pch_state): Don't write list of defined macros. | |
411 | (struct save_macro_item): Delete. | |
412 | (struct save_macro_data): Use a character array not the previous | |
413 | structured format. | |
414 | (save_macros): Save macro as text not as internal structures. | |
415 | (cpp_prepare_state): Update for changes to save_macro_data. | |
416 | (cpp_read_state): Don't read macros defined in PCH. Restore | |
c84ca916 | 417 | -D macros as text. |
c39ed964 | 418 | * macro.c (create_iso_definition): Honour alloc_subobject. |
419 | Clear traditional flag. | |
420 | (_cpp_create_definition): Honour alloc_subobject. | |
421 | * lex.c (cpp_token_val_index): New. | |
422 | * internal.h: Include cpp-id-data.h. | |
423 | (uchar): Move definition to cpp-id-data.h. | |
424 | (U): Likewise. | |
425 | (cpp_macro): Likewise. | |
426 | * directives.c (struct answer): Move to cpp-id-data.h. | |
427 | (do_assert): Honour alloc_subobject. | |
c84ca916 | 428 | |
429 | * include/symtab.h (struct ht): Add field 'alloc_subobject'. | |
430 | * include/cpplib.h (struct cpp_string): Add GTY marker. | |
431 | (enum cpp_token_fld_kind): New. | |
432 | (struct cpp_token): Add GTY markers. | |
433 | (cpp_token_val_index): Prototype. | |
434 | (CPP_HASHNODE_VALUE_IDX): New. | |
435 | (struct cpp_hashnode): Don't skip fields of 'value' when marking. | |
436 | * include/cpp-id-data.h: New file. | |
c39ed964 | 437 | |
dd6e5561 | 438 | 2004-06-09 Paolo Bonzini <bonzini@gnu.org> |
439 | ||
440 | * Makefile.am (all-local): New. | |
441 | * Makefile.in: Regenerate. | |
442 | ||
8af0c78d | 443 | 2004-06-06 Roger Sayle <roger@eyesopen.com> |
444 | ||
445 | * Makefile.am (LIBICONV): Declare. | |
446 | (makedepend_LDADD): Use LIBICONV. | |
447 | * Makefile.in: Regenerate. | |
448 | ||
30302733 | 449 | 2004-06-05 Andrew Pinski <pinskia@physics.uc.edu> |
450 | ||
451 | * Makefile.am (LIBINTL): Declare | |
452 | (makedepend_LDADD): Use LIBINTL. | |
453 | * Makefile.in: Regenerate. | |
454 | ||
3eb3f293 | 455 | 2004-06-05 Zack Weinberg <zack@codesourcery.com> |
456 | ||
457 | * Makefile.am: Add makedepend. | |
458 | * Makefile.in, aclocal.m4: Regenerate. | |
459 | * charset.c: Insert a space to avoid a warning. | |
460 | * directives.c: Include mkdeps.h. | |
461 | (_cpp_handle_directive): Reenable macro expander if appropriate. | |
462 | (undefine_macros): Inline body of _cpp_free_definition for speed. | |
463 | Do not call undef callback or _cpp_warn_if_unused_macro. | |
464 | (cpp_get_deps): New interface. | |
465 | * files.c (search_cache): Add pfile argument. Check for file | |
466 | that would be found by "" or <> search here... | |
467 | (_cpp_find_file): ...not here. Correct recorded start_dir of | |
468 | files found by directory-of-current-file search that would be | |
469 | found by "" or <> search. | |
470 | * init.c (cpp_add_dependency_target): Delete. | |
471 | * internal.h (struct lexer_state): Add discarding_output flag. | |
472 | * lex.c (lex_identifier): Compute hash function while scanning. | |
473 | * macro.c (cpp_scan_nooutput): Disable macro expansion outside | |
474 | directives. | |
475 | * makedepend.c: New file. | |
476 | * mkdeps.c (struct deps): Add vpath vector. | |
477 | (apply_vpath, deps_add_vpath): New function. | |
478 | (deps_free): Free vpath vector. | |
479 | (deps_add_dep, deps_add_target): Use apply_vpath. | |
480 | * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH. | |
481 | (ht_lookup_with_hash): New function. | |
482 | * cpplib.h, mkdeps.h: Update prototypes. | |
483 | * symtab.h: Update prototypes. | |
484 | (HT_HASHSTEP, HT_FINISH): New macros. | |
485 | ||
8ed01400 | 486 | 2004-05-29 Geoffrey Keating <geoffk@apple.com> |
487 | ||
488 | * symtab.c (ht_create): Set entries_owned. | |
489 | (ht_destroy): Honour entries_owned. | |
490 | (ht_expand): Likewise. | |
491 | (ht_load): New. | |
c84ca916 | 492 | * include/symtab.h (struct ht): New field 'entries_owned' |
493 | (ht_load): New prototype. | |
8ed01400 | 494 | |
347a3ab5 | 495 | 2004-05-26 Paolo Bonzini <bonzini@gnu.org> |
496 | ||
497 | PR bootstrap/15651 | |
498 | * configure.ac: Fix m4 quoting when picking | |
499 | the size of HOST_WIDE_INT. | |
500 | * configure: Regenerate. | |
501 | ||
fc231f28 | 502 | 2004-05-25 Paolo Bonzini <bonzini@gnu.org> |
503 | ||
504 | * Makefile.am: the correct directory for | |
505 | gettext include files is given by @INCINTL@. | |
506 | * Makefile.in: Regenerate. | |
507 | ||
babfbd63 | 508 | 2004-05-24 Paolo Bonzini <bonzini@gnu.org> |
509 | ||
510 | * system.h [!ENABLE_NLS]: dgettext takes two | |
511 | parameters. | |
512 | ||
d856c8a6 | 513 | 2004-05-23 Paolo Bonzini <bonzini@gnu.org> |
514 | ||
515 | Moved libcpp from the gcc subdirectory to the toplevel. | |
516 | * Makefile.am: New file. | |
517 | * Makefile.in: Regenerate. | |
518 | * configure.ac: New file. | |
519 | * configure: Regenerate. | |
520 | * config.in: Regenerate. | |
521 | * charset.c: Moved from gcc/cppcharset.c. Add note about | |
522 | brokenness of input charset detection. Adjust for change | |
523 | in name of cppucnid.h. | |
524 | * errors.c: Moved from gcc/cpperror.c. Do not include intl.h. | |
525 | * expr.c: Moved from gcc/cppexp.c. | |
526 | * files.c: Moved from gcc/cppfiles.c. Do not include intl.h. | |
527 | Remove #define of O_BINARY, it is in system.h. | |
528 | * identifiers.c: Moved from gcc/cpphash.c. | |
529 | * internal.h: Moved from gcc/cpphash.h. Change header | |
530 | guard name. All other files adjusted to match name change. | |
531 | * init.c: Moved from gcc/cppinit.c. | |
532 | (init_library) [ENABLE_NLS]: Call bindtextdomain. | |
533 | * lex.c: Moved from gcc/cpplex.c. | |
534 | * directives.c: Moved from gcc/cpplib.c. | |
535 | * macro.c: Moved from gcc/cppmacro.c. | |
536 | * pch.c: Moved from gcc/cpppch.c. Do not include intl.h. | |
537 | * traditional.c: Moved from gcc/cpptrad.c. | |
538 | * ucnid.h: Moved from gcc/cppucnid.h. Change header | |
539 | guard name. | |
540 | * ucnid.pl: Moved from gcc/cppucnid.pl. | |
541 | * ucnid.tab: Moved from gcc/cppucnid.tab. Change header | |
542 | guard name. | |
543 | * symtab.c: Moved from gcc/hashtable.c. | |
544 | * line-map.c: Moved from gcc. Do not include intl.h. | |
545 | * mkdeps.c: Moved from gcc. | |
546 | * system.h: New file. | |
c84ca916 | 547 | * include/cpplib.h: Moved from gcc. Change header guard name. |
548 | * include/line-map.h: Moved from gcc. Change header guard name. | |
549 | * include/mkdeps.h: Moved from gcc. Change header guard name. | |
550 | * include/symtab.h: Moved from gcc/hashtable.h. Change header | |
551 | guard name. |