1 2007-09-06 Tom Tromey <tromey@redhat.com>
3 * internal.h (struct cpp_reader) <invocation_location>: New
5 (struct cpp_reader) <set_invocation_location>: Likewise.
6 * init.c (cpp_set_line_map): New function.
7 * line-map.c (linemap_add): Use linemap's allocator.
8 * include/line-map.h (GTY): Define.
9 (line_map_realloc): New typedef.
10 (struct line_map): Mark with GTY.
11 (struct line_maps): Likewise.
12 (struct line_maps) <maps>: Likewise.
13 (struct line_maps) <reallocator>: New field.
14 * include/symtab.h (GTY): Conditionally define.
15 * include/cpplib.h (cpp_set_line_map): Declare.
16 (cpp_get_token_with_location): Declare.
17 * macro.c (cpp_get_token): Set invocation_location on the reader.
18 (cpp_get_token_with_location): New function.
20 2007-08-30 Chao-ying Fu <fu@mips.com>
22 * expr.c (interpret_float_suffix): Support hr, r, lr, llr, uhr, ur,
23 ulr, ullr, hk, k, lk, llk, uhk, uk, ulk, ullk.
24 (cpp_classify_number): Support decimal fixed-point constants without
26 Warn about fixed-point constants when -pedantic.
27 * include/cpplib.h (CPP_N_SMALL, CPP_N_MEDIUM, CPP_N_LARGE): Change
28 comments to support fixed-point values.
29 (CPP_N_FRACT, CPP_N_ACCUM): Define.
31 2007-08-18 Tom Tromey <tromey@redhat.com>
33 PR preprocessor/32974:
34 * directives.c (parse_include): Don't check for EOL when
35 processing #pragma dependency.
37 2007-07-30 Ollie Wild <aaw@google.com>
39 * directives-only.c: New file.
40 * internal.h (struct _cpp_dir_only_callbacks): New.
41 (_cpp_preprocess_dir_only): New function.
42 * directives.c (_cpp_handle_directive): Check directives_only before
43 disabling execution of indented directives.
44 * files.c (_cpp_stack_file): Add directives_only check.
45 * include/cpplib.h (struct cpp_options): Add directives_only.
46 (cpp_init_special_builtins): New function.
47 * init.c (cpp_init_special_builtins): New function.
48 (cpp_init_builtins): Move builtin_array initialization to
49 cpp_init_special_builtins.
50 (post_options): Check directives_only before setting
51 pfile->state.prevent_expansion = 1.
52 * macro.c (_cpp_builtin_macro_text): Print an error if __COUNTER__
53 is expanded inside a directive while -fdirectives-only is enabled.
54 * Makefile.in (libcpp_a_OBJS): Add directives-only.o.
55 (libcpp_a_SOURCES): Add directives-only.c.
57 2007-07-04 Uros Bizjak <ubizjak@gmail.com>
59 * traditional.c (_cpp_scan_out_logical_line): Initialize
60 fmacro.args, fmacro.node, fmacro.offset, fmacro.line and
61 fmacro.args to prevent 'may be used uninitialized' warning.
63 2007-07-03 Uros Bizjak <ubizjak@gmail.com>
65 * include/cpplib.h (CPP_N_WIDTH_MD, CPP_N_MD_W, CPP_N_MD_Q):
67 * expr.c (interpret_float_suffix): Process 'w', 'W', 'q' and 'Q'
68 suffixes. Return CPP_N_MD_W for 'w' or 'W' suffixes and CPP_N_MD_Q
69 for 'q' or 'Q' suffixes.
71 2007-06-17 Danny Smith <dannysmith@users.sourceforge.net
73 * files.c (open_file): Correct typo.
75 2007-06-16 Vladimir Prus <vladimir@codesourcery.com>
77 * files.c (open_file): Prevent the call
78 for stat from overwriting errno.
80 2007-06-09 Vladimir Prus <vladimir@codesourcery.com>
82 * files.c (open_file): Account for the
83 fact that on windows, opening a directory gives
86 2007-06-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
89 * expr.c (cpp_classify_number): Implement 0b-prefixed binary
91 (append_digit): Likewise.
92 * include/cpplib.h: Add CPP_N_BINARY, to be used for 0b-prefixed
93 binary integer constants.
95 2007-05-31 Dave Korn <dave.korn@artimi.com>
98 * lex.c (_cpp_get_fresh_line): Don't warn if no newline at EOF.
100 2007-05-24 Ollie Wild <aaw@google.com>
102 * macro.c (_cpp_builtin_macro_text): Handle BT_COUNTER.
103 * pch.c (cpp_write_pch_deps): Save __COUNTER__ state.
104 (cpp_write_pch_state): Save __COUNTER__ state.
105 (cpp_valid_state): Check valid __COUNTER__ state.
106 (cpp_read_state): Read new __COUNTER__ state.
107 * include/cpplib.h (enum builtin_type): Add BT_COUNTER enumerator.
108 * init.c (builtin_array): Add __COUNTER__/BT_COUNTER.
109 * internal.h (struct cpp_reader): Add counter member.
111 2007-05-23 Simon Martin <simartin@users.sourceforge.net>
113 PR preprocessor/20077
114 * macro.c (create_iso_definition): Fixed the method to determine
115 whether the token-pasting operator appears at the beginning or the end
118 2007-05-21 Ian Lance Taylor <iant@google.com>
120 * internal.h (struct cpp_reader): Add new fields:
121 nonexistent_file_hash and nonexistent_file_ob.
122 * files.c: Include "obstack.h".
123 (find_file_in_dir): Before trying to open the file, look up the
124 path name in the hash table of nonexistent files. After failing
125 to open the file, add the path name to the hash table.
126 (_cpp_find_file): Cache the results of looking up the file name
127 starting with the quote and bracket chain heads, if we can.
128 (nonexistent_file_hash_eq): New static function.
129 (_cpp_init_files): Initialize pfile->nonexistent_file_hash and
130 pfile->nonexistent_file_ob.
131 (_cpp_cleanup_files): Free pfile->nonexistent_file_hash and
132 pfile->nonexistent_file_ob.
134 2007-05-14 Janis Johnson <janis187@us.ibm.com>
136 * expr.c (cpp_classify_number): Warn about dfp constant for -pedantic.
139 * expr.c (interpret_float_suffix): Check for invalid suffix.
141 2007-05-02 Eric Christopher <echristo@apple.com>
143 * expr.c (num_div_op): Don't overflow if the result is
146 2007-05-02 Tom Tromey <tromey@redhat.com>
148 PR preprocessor/28709:
149 * macro.c (paste_tokens): Remove PASTE_LEFT from the old lhs.
151 2007-03-30 Michael Meissner <michael.meissner@amd.com>
153 * directives.c (lex_macro_node_from_str): Fix alloca call to be
156 2007-03-30 Richard Henderson <rth@redhat.com>
158 * directives.c (lex_macro_node_from_str): New.
159 (cpp_push_definition, cpp_pop_definition): New.
160 * include/cpplib.h (cpp_push_definition, cpp_pop_definition): Declare.
162 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
164 * Makefile.in: Add dummy install-pdf target.
166 2007-01-30 Tom Tromey <tromey@redhat.com>
168 PR preprocessor/30468:
169 * mkdeps.c (apply_vpath): Strip successive '/'s if we stripped
172 2007-01-30 Tom Tromey <tromey@redhat.com>
174 PR preprocessor/29966:
175 * macro.c (lex_expansion_token): Save and restore cpp_reader's
177 (_cpp_create_definition): Don't restore cur_token here.
178 * lex.c (_cpp_lex_token): Added assertion.
180 2007-01-27 Tom Tromey <tromey@redhat.com>
182 * configure: Rebuilt.
184 2007-01-12 Tom Tromey <tromey@redhat.com>
186 PR preprocessor/28227:
187 * directives.c (lex_macro_node): Added 'is_def_or_undef'
194 2007-01-11 Paolo Bonzini <bonzini@gnu.org>
196 * configure: Regenerate.
198 2007-01-11 Paolo Bonzini <bonzini@gnu.org>
200 * configure: Regenerate.
202 2007-01-04 Tom Tromey <tromey@redhat.com>
204 PR preprocessor/28165:
205 * internal.h (cpp_in_primary_file): New function.
206 * directives.c (do_include_next): Use cpp_in_primary_file.
207 (do_pragma_once): Likewise.
208 (do_pragma_system_header): Likewise.
210 2006-12-29 Ian Lance Taylor <iant@google.com>
212 * lex.c (_cpp_clean_line): Add uses of __builtin_expect. Don't
213 look backward at the end of the line unless we saw a backslash.
215 2006-12-29 Jakub Jelinek <jakub@redhat.com>
217 PR preprocessor/29612
218 * directives.c (do_linemarker): Set pfile->buffer->sysp always, not
219 only when new_sysp is non-zero.
221 2006-12-28 Tom Tromey <tromey@redhat.com>
223 PR preprocessor/30001:
224 * charset.c (_cpp_convert_input): Check that to.len is greater
227 2006-11-20 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
229 * configure.ac (need_64bit_hwint): Need 64bit hwint for SPU.
230 * configure: Rebuilt.
232 2006-11-01 Douglas Gregor <doug.gregor@gmail.com>
234 * include/cpplib.h (enum c_lang): Add CLK_GNUCXX0X and CLK_CXX0X
235 for experimental C++0x mode.
236 * init.c (lang_defaults): Add defaults for C++0x modes. C++0x has
237 adopted the preprocessor changes introduced in C99.
239 2006-10-29 Joseph Myers <joseph@codesourcery.com>
241 * configure.ac (need_64bit_hwint): Set for i[34567]86-*-linux*
242 depending on --enable-targets=all.
243 * configure: Regenerate.
245 2006-10-12 Jakub Jelinek <jakub@redhat.com>
247 PR preprocessor/28709
248 * macro.c (paste_tokens): Do error reporting here, use BUF with the
249 spelled LHS token as opposed to spelling it again.
250 (paste_all_tokens): Don't report errors here, just break on failure.
252 2006-10-10 Brooks Moses <bmoses@stanford.edu>
254 * Makefile.in: Added empty "pdf" target.
256 2006-09-22 Geoffrey Keating <geoffk@apple.com>
258 * configure.ac: Make need_64_bit_hwint case for x86-darwin
259 match exactly the glob in gcc/config.gcc.
260 * configure: Regenerate.
262 2006-09-13 Joseph S. Myers <joseph@codesourcery.com>
265 PR preprocessor/14634
266 * lex.c (lex_string): Pedwarn for unterminated literals.
268 2006-09-08 Eric Christopher <echristo@apple.com>
270 * configure.ac: Add 64-bit HWI support for i?86-darwin.
272 2006-08-14 Steve Ellcey <sje@cup.hp.com>
276 * include/cpplib.h: Remove <?, >?, <?=, and >?= tokens.
277 (CPP_LAST_EQ): Change.
278 (CPP_LAST_PUNCTUATOR): Change.
279 * expr.c (cpp_operator): Remove MIN and MAX.
280 (reduce): Remove CPP_MIN and CPP_MAX.
281 (num_binary_op): Ditto.
282 * lex.c (_cpp_lex_direct): Ditto.
283 (cpp_avoid_paste): Remove ? as legal symbol after > or <.
285 2006-06-09 Jakub Jelinek <jakub@redhat.com>
287 PR preprocessor/27746
288 * directives.c (do_pragma): Handle pragma with valid namespace
289 and invalid name coming from macro expansion.
290 * directives.c (destringize_and_run): Initialize next field in
295 * directives.c (destringize_and_run): Set NO_EXPAND on the
298 * macro.c (_cpp_backup_tokens): Fix comment typo.
300 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
302 * Makefile.in (CATALOGS): Add po/ prefix.
303 * configure: Regenerated.
305 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
307 * Makefile.in: Add install-html target. Add install-html to .PHONY
309 2006-02-17 Grigory Zagorodnev <grigory_zagorodnev@linux.intel.com>
311 * macro.c (_cpp_builtin_macro_text): Handle BT_TIMESTAMP.
312 * files.c (_cpp_get_file_stat): New function.
313 * include/cpplib.h (builtin_type): Add BT_TIMESTAMP.
314 * init.c (builtin_array): Add support for __TIMESTAMP__/BT_TIMESTAMP.
315 * internal.h (_cpp_get_file_stat): Prototype.
316 (struct cpp_buffer): Add timestamp.
318 2006-01-23 Jakub Jelinek <jakub@redhat.com>
320 PR preprocessor/25717
321 * init.c (cpp_init_builtins): If __STDC__ will not change value
322 between system headers and other sources, define it as a normal
323 macro rather than a builtin.
324 * macro.c (_cpp_builtin_macro_text) <case BT_STDC>: Only check
325 cpp_in_system_header condition.
327 2006-01-05 Paolo Bonzini <bonzini@gnu.org>
329 * Makefile.in: Use -MMD instead of -MD.
331 2006-01-04 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
332 Richard Henderson <rth@redhat.com>
334 Merge from gomp branch:
335 * directives.c (struct pragma_entry): Add is_deferred. Add ident
336 entry to value union.
337 (end_directive): Don't eat the line if in_deferred_pragma.
338 (run_directive): Remove pragma hacks.
339 (insert_pragma_entry): Remove.
340 (new_pragma_entry): New.
341 (register_pragma_1): Split out of register_pragma. Only handle
342 the lookup tree and return the new entry.
343 (cpp_register_pragma): Fill in the pragma entry here.
344 (cpp_register_deferred_pragma): New.
345 (register_pragma_internal): New.
346 (_cpp_init_internal_pragmas): Use register_pragma_internal.
347 (do_pragma): Allow pragma expansion after namespace. For deferred
348 pragmas, don't slurp the line into a string.
349 (destringize_and_run): Save tokens for deferred pragmas.
350 (cpp_handle_deferred_pragma): Remove.
351 * macro.c (builtin_macro): Remove pragma token hack.
352 (_cpp_push_token_context): Rename from push_token_context and export.
353 * internal.h (struct lexer_state): Add pragma_allow_expansion.
354 (_cpp_push_token_context): Declare.
355 * lex.c (_cpp_lex_token): Allow _cpp_handle_directive to return
356 a token. Update the line number correctly if so.
357 (_cpp_lex_direct): Emit CPP_PRAGMA_EOL tokens.
358 (cpp_token_val_index): Return CPP_TOKEN_FLD_PRAGMA for pragmas.
359 * include/cpplib.h (PRAGMA_EOL): New.
360 (CPP_TOKEN_FLD_PRAGMA): New.
361 (struct cpp_token): Add val.pragma.
362 (struct cpp_options): Remove defer_pragmas.
363 (cpp_handle_deferred_pragma): Remove.
364 (cpp_register_deferred_pragma): Declare.
366 2006-01-01 Jakub Jelinek <jakub@redhat.com>
369 * directives.c (do_pragma): If pragma line ends with multi-line
370 block comment, end the saved deferred pragma string before that
371 comment. Handle embedded '\0' chars on the pragma line.
373 2005-12-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
376 * include/cpplib.h: Add PURE_ZERO to flags for the cpp_token structure.
378 2005-12-07 Jon Grimm <jgrimm2@us.ibm.com>
379 Ben Elliston <bje@au.ibm.com>
381 * include/cpplib.h (CPP_N_DFLOAT): New.
382 * expr.c (interpret_float_suffix): Identify df, dd, and dl
383 suffixes as decimal floating point constants.
384 (cpp_classify_number): Disallow hexadecimal DFP constants.
386 2005-11-14 Gerald Pfeifer <gerald@pfeifer.com>
387 Ian Lance Taylor <ian@airs.com>
389 * include/cpplib.h (struct cpp_callbacks): Annotate error with
390 ATTRIBUTE_FPTR_PRINTF(3,0) instead of ATTRIBUTE_PRINTF(3,0).
392 2005-11-09 Per Bothner <per@bothner.com>
393 Uros Bizjak <uros@kss-loka.si>
396 * init.c (read_original_filename): Temporarily set
397 state.in_directive before calling _cpp_lex_direct for
400 2005-11-03 James E Wilson <wilson@specifix.com>
402 PR preprocessor/24202
403 * files.c (_cpp_pop_file_buffer): Set buffer_valid to false.
405 2005-11-04 Joseph S. Myers <joseph@codesourcery.com>
407 * include/cpplib.h (struct cpp_callbacks): Make error take
409 * errors.c (cpp_error): Update call to callback.
411 2005-11-03 Andrew Pinski <pinskia@physics.uc.edu>
413 PR preprocessor/22042
414 * macro.c (_cpp_builtin_macro_text): Lower the needed max
416 (cpp_quote_string): Don't octalify non printable
419 2005-11-03 Joseph S. Myers <joseph@codesourcery.com>
422 * include/cpplib.h (struct cpp_options): Add client_diagnostic.
423 (struct cpp_callbacks): Add error.
424 * errors.c (cpp_error): If client_diagnostic, use error callback.
425 * charset.c (convert_escape): Don't use %03o in diagnostic.
427 2005-10-21 James E Wilson <wilson@specifix.com>
429 PR preprocessor/15220
430 * files.c (_cpp_find_file): New parameter angle_brackets. Fix all
431 callers. Pass to open_file_failed.
432 (open_file_failed): New parameter angle_brackets. Fix all callers.
433 Use in print_dep assignment.
434 * init.c (cpp_read_main_file): Pass additional arg to _cpp_find_file.
435 * internal.h (_cpp_find_file): Add new parm to declaration.
437 2005-10-08 Kazu Hirata <kazu@codesourcery.com>
439 * configure.ac: Require 64-bit int for arm*-*-*eabi*.
440 * configure: Regenerate.
442 2005-10-04 Ian Lance Taylor <ian@airs.com>
444 PR preprocessor/13726
445 * directives.c (check_eol_return_comments): New static function.
446 (parse_include): Add buf parameter. Change all callers.
447 (do_include_common): If not discard comments, turn on
448 save_comments. Pass collected comments to include callback.
449 * include/cpplib.h (struct cpp_callbacks): Add new parameter to
450 include callback: cpp_token list.
452 2005-09-20 Joseph S. Myers <joseph@codesourcery.com>
454 * include/cpplib.h (struct cpp_options): Add extended_identifiers.
455 * init.c (struct lang_flags, lang_defaults): Add
456 extended_identifiers.
457 (cpp_set_lang): Use it.
458 * lex.c (forms_identifier_p): Check extended_identifiers.
460 2005-08-30 Jakub Jelinek <jakub@redhat.com>
462 PR preprocessor/20348
463 PR preprocessor/20356
464 * files.c (_cpp_find_file, search_cache): Revert 2004-06-26 and
467 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
469 * configure.ac (ACX_PROG_CC_WARNING_OPTS): add
470 -Wmissing-format-attribute.
472 * configure: Regenerate.
474 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
476 * all files: Update FSF address in copyright headers.
477 * makeucnid.c (write_copyright): Update outputted FSF address.
479 2005-06-13 Zack Weinberg <zack@codesourcery.com>
481 * configure.ac: Invoke ZW_CREATE_DEPDIR and
482 ZW_PROG_COMPILER_DEPENDENCIES.
483 * aclocal.m4, configure: Regenerate.
484 * Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.base, COMPILE):
486 (distclean): Clean up $(DEPDIR) and its contents.
487 (.c.o): Use $(COMPILE).
488 Include $(DEPDIR)/*.Po for most object->header dependencies.
490 2005-05-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
492 * configure.ac: Check declarations for asprintf and vasprintf.
493 * config.in: Regenerate.
494 * configure: Likewise.
496 * charset.c (conversion_loop): Use XRESIZEVEC.
497 (convert_no_conversion): Likewise.
498 (convert_using_iconv): Likewise.
499 (init_iconv_desc): Cast return value of alloca.
500 (cpp_host_to_exec_charset): Use XNEWVEC.
501 (emit_numeric_escape): Use XRESIZEVEC.
502 (cpp_interpret_string): Use XNEWVEC.
503 (cpp_interpret_string): Use XRESIZEVEC.
504 (_cpp_interpret_identifier): Cast return value of alloca.
505 (_cpp_convert_input): Use XNEWVEC and XRESIZEVEC.
506 * directives.c (glue_header_name): Use XNEWVEC and XRESIZEVEC.
507 (parse_include): Use XNEWVEC.
508 (insert_pragma_entry): Rename local variable "new" to
510 (save_registered_pragmas): Cast return value of xmemdup.
511 (destringize_and_run): Same for alloca.
512 (parse_assertion): Likewise.
513 (do_assert): Cast allocated storage to proper type.
514 (cpp_define): Likewise.
515 (_cpp_define_builtin): Likewise.
516 (cpp_undef): Likewise.
517 (handle_assertion): Likewise.
518 (cpp_push_buffer): Rename local variable "new" to "new_buffer".
519 * expr.c (CPP_UPLUS): Cast value to type cpp_ttype.
520 (CPP_UMINUS): Likewise.
521 (struct cpp_operator): Rename from struct operator.
522 (_cpp_expand_op_stack): Use XRESIZEVEC.
523 * files.c (pch_open_file): Use XNEWVEC.
524 (pch_open_file): Use XRESIZEVEC.
525 (read_file_guts): Use XNEWVEC and XRESIZEVEC.
526 (dir_name_of_file): Use XNEWVEC.
527 (make_cpp_file): Use XCNEW.
528 (make_cpp_dir): Likewise.
529 (allocate_file_hash_entries): USE XNEWVEC.
530 (cpp_included): Cast return value of htab_find_with_hash.
531 (append_file_to_dir): Use XNEWVEC.
532 (read_filename_string): Likewise. Use XRESIZEVEC too.
533 (read_name_map): Cast return value of alloca. Use XRESIZEVEC.
534 (remap_filename): Use XNEWVEC.
535 (struct pchf_entry): Move definition out of struct pchf_data.
536 (_cpp_save_file_entries): Use XCNEWVAR.
537 (_cpp_read_file_entries): Use XNEWVAR.
538 * identifiers.c (alloc_node): Use XOBNEW.
539 * init.c (cpp_create_reader): Use XCNEW.
540 (cpp_init_builtins): Cast of b->value to enum builtin_type.
541 (read_original_directory): Cast return value of alloca.
542 * lex.c (add_line_note): Use XRESIZEVEC.
543 (warn_about_normalization): Use XNEWVEC.
544 (_cpp_lex_direct): Cast node->directive_index to (enum cpp_ttype).
545 (new_buff): Use XNEWVEC.
546 * line-map.c (linemap_add): Use XRESIZEVEC.
547 * macro.c (builtin_macro): Cast return value of alloca.
548 (paste_tokens): Likewise.
549 (expand_arg): Use XNEWVEC and XRESIZEVEC.
550 (_cpp_save_parameter): Use XRESIZEVEC.
551 (create_iso_definition): Cast allocated storage to proper type.
552 (_cpp_create_definition): Likewise.
553 (cpp_macro_definition): Use XRESIZEVEC.
554 * makedepend.c (add_clm): Use XNEW.
556 * mkdeps.c (munge): Use XNEWVEC.
557 (deps_init): Use XCNEW.
558 (deps_add_target): Use XRESIZEVEC.
559 (deps_add_default_target): Cast return value of alloca.
560 (deps_add_dep): Use XRESIZEVEC.
561 (deps_add_vpath): Likewise. Use XNEWVEC too.
562 (deps_restore): Likewise.
563 * pch.c (save_idents): Use XNEW and XNEWVEC.
564 (cpp_save_state): Use XNEW.
565 (count_defs): Cast return value of htab_find.
566 (write_defs): Likewise.
567 (cpp_write_pch_deps): Use XNEWVEC.
568 (collect_ht_nodes): Use XRESIZEVEC.
569 (cpp_valid_state): Use XNEWVEC.
570 (save_macros): Use XRESIZEVEC. Cast return value of xmemdup.
571 * symtab.c (ht_create): Use XCNEW.
572 (ht_lookup_with_hash): Cast return value of obstack_copy0.
573 (ht_expand): Use XCNEWVEC.
574 * system.h (HAVE_DESIGNATED_INITIALIZERS): False if __cplusplus.
575 (bool): Do not define if __cplusplus.
577 2005-05-12 Zack Weinberg <zack@codesourcery.com>
579 * directives.c (#sccs table entry): Mark IN_I, consistent with #ident.
580 (do_sccs): Delete function definition, #define to do_ident.
581 (do_ident): Don't hardwire directive name.
583 2005-05-12 Ryota Kunisawa <kunisawa@access.co.jp>
586 * configure: Regenerate.
588 2005-04-27 Andris Pavenis <pavenis@latnet.lv>
590 * files.c: Include io.h for DJGPP to get prototype of setmode.
592 2005-04-19 Per Bothner <per@bothner.com>
594 PR preprocessor/20907
595 * line-map.c (linemap_line_start): Fix bug when we need to increse
596 column_bits but can re-use the current line_map.
598 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
600 * system.h (fopen, fdopen, freopen): Define these to the unlocked
603 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
605 * configure.ac (libcpp_UNLOCKED_FUNCS): New.
606 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
607 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
608 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
610 (fwrite_unlocked): Fix prototype.
612 * configure, config.in: Regenerate.
614 2005-04-05 Jakub Jelinek <jakub@redhat.com>
616 PR preprocessor/19475
617 * macro.c (create_iso_definition): For < ISO C99, don't
618 pedwarn if there is no whitespace between macro name and its
619 replacement, but the replacement starts with a basic character
622 2005-03-28 Andreas Jaeger <aj@suse.de>
624 * lex.c (warn_about_normalization): Cast field width to int to
627 2005-03-19 Joseph S. Myers <joseph@codesourcery.com>
629 * configure.ac: Consistently use solaris2.1[0-9]* instead of
631 * configure: Regenerate.
633 2005-03-15 Geoffrey Keating <geoffk@apple.com>
635 * charset.c (_cpp_valid_ucn): In identifiers, reject a partial
636 UCN rather than printing an error.
638 2005-03-14 Geoffrey Keating <geoffk@apple.com>
640 * lex.c (forms_identifier_p): Disable UCNs in C89 mode.
642 2005-03-14 Geoffrey Keating <geoffk@apple.com>
644 * init.c (cpp_create_reader): Default warn_normalize to normalized_C.
645 * charset.c: Update for new format of ucnid.h.
646 (ucn_valid_in_identifier): Update for new format of ucnid.h.
647 Add NST parameter, and update it; update callers.
648 (cpp_valid_ucn): Add NST parameter, update callers. Replace abort
650 (convert_ucn): Pass normalize_state to cpp_valid_ucn.
651 * internal.h (struct normalize_state): New.
652 (INITIAL_NORMALIZE_STATE): New.
653 (NORMALIZE_STATE_RESULT): New.
654 (NORMALIZE_STATE_UPDATE_IDNUM): New.
655 (_cpp_valid_ucn): New.
656 * lex.c (warn_about_normalization): New.
657 (forms_identifier_p): Add normalize_state parameter, update callers.
658 (lex_identifier): Add normalize_state parameter, update callers. Keep
660 (lex_number): Likewise.
661 (_cpp_lex_direct): Pass normalize_state to subroutines. Check
662 it with warn_about_normalization.
666 * ucnid.tab: Make appropriate for input to makeucnid.c. Remove
667 comments about obsolete version of C++.
668 * include/cpplib.h (enum cpp_normalize_level): New.
669 (struct cpp_options): Add warn_normalize field.
671 2005-03-11 Geoffrey Keating <geoffk@apple.com>
673 * directives.c (glue_header_name): Update call to cpp_spell_token.
674 * internal.h (_cpp_interpret_identifier): New.
675 * charset.c (_cpp_interpret_identifier): New.
676 (_cpp_valid_ucn): Allow UCN version of '$'.
677 * lex.c (lex_identifier): Add extra parameter to indicate if initial
678 character was '$' or '\'. Support identifiers with UCNs.
679 (forms_identifier_p): Allow UCNs.
680 (_cpp_lex_direct): Pass extra parameter to lex_identifier.
682 (cpp_spell_token): Add FORSTRING parameter. Use it.
683 (cpp_token_as_text): Update call to cpp_spell_token.
684 (cpp_output_token): Write UCNs back out.
685 (stringify_arg): Update call to cpp_spell_token.
686 (paste_tokens): Likewise.
687 (cpp_macro_definition): Likewise.
688 * macro.c (stringify_arg): Likewise.
689 (paste_tokens): Likewise.
690 (cpp_macro_definition): Likewise.
691 * include/cpplib.h: Add parameter to cpp_spell_token.
693 2005-03-04 Jakub Jelinek <jakub@redhat.com>
697 * macro.c (replace_args, cpp_get_token): Copy whole
698 cpp_token_u instead of just cpp_string field from it.
700 2005-02-28 Devang Patel <dpatel@apple.com>
702 * directives.c (do_line): Save sysp early before line table is
705 2005-02-20 Zack Weinberg <zack@codesourcery.com>
708 * charset.c (LAST_POSSIBLY_BASIC_SOURCE_CHAR): New helper macro.
709 (cpp_host_to_exec_charset): New function.
710 * include/cpplib.h: Declare cpp_host_to_exec_charset.
712 2005-02-19 Devang Patel <dpatel@apple.com>
714 * charset.c (_cpp_convert_input): Check '\r' before inserting
717 2005-02-15 Eric Christopher <echristo@redhat.com>
719 PR preprocessor/19077
720 * macro.c (cpp_macro_definition): Move handling of whitespace
721 to PREV_WHITE conditional. Remove overloading of len
724 2005-02-14 Kazu Hirata <kazu@cs.umass.edu>
726 * directives.c, files.c, init.c, internal.h, macro.c, pch.c,
727 traditional.c: Update copyright.
729 2005-02-14 Paolo Bonzini <bonzini@gnu.org>
732 * configure.ac: Check for declaration of basename and getopt.
733 * config.in: Regenerate.
734 * configure: Regenerate.
735 * internal.h (ustrcspn): New.
736 * macro.c (create_iso_definition): Fix allocation of memory.
737 (padding_token): Add cast to remove const-ness.
738 * pch.c (cpp_read_state): Use ustrcspn.
740 2005-02-08 Mike Stump <mrs@apple.com>
742 * files.c (pchf_adder): Remove.
743 (struct pchf_adder_info): Likewise.
744 (_cpp_save_file_entries): Write out all files so that #import works.
746 2005-01-23 Joseph S. Myers <joseph@codesourcery.com>
748 * configure: Regenerate.
750 2005-01-11 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
752 * include/cpplib.h (c_lang): Fix comment to say cpp_create_reader.
754 * include/cpplib.h: Also update copyright years.
756 2005-01-03 Geoffrey Keating <geoffk@apple.com>
758 * files.c (_cpp_find_file): Add files found by search_path_exhausted
759 to the list of all files.
761 2005-01-01 Gabriel Dos Reis <gdr@integrable-solutions.net>
763 * internal.h: Update references to Cpp lib filenames.
764 * directives.c: Likewise.
767 * traditional.c: Likewise.
769 2004-12-15 Eric Botcazou <ebotcazou@libertysurf.fr>
771 PR preprocessor/15167
772 * files.c (destroy_cpp_file): New function.
773 (should_stack_file): Make a new file if the
774 compared file is still stacked.
776 2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
778 PR preprocessor/17610
779 * directives.c (do_include_common): Error out if an empty filename
780 is given for #include (or #include_next or #import).
782 2004-11-27 Roger Sayle <roger@eyesopen.com>
783 Zack Weinberg <zack@codesourcery.com>
785 * internal.h: Replace all uses of uchar with unsigned char.
786 * include/cpp-id-data.h: Likewise. Guard typedef of uchar
787 with !IN_GCC, so uchar is only defined whilst building libcpp.
789 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
791 * aclocal.m4: Regenerate.
793 2004-11-24 Roger Sayle <roger@eyesopen.com>
795 PR preprocessor/15824
796 * configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h>
797 directly, instead of the non-existant "system.h" and "ansidecl.h".
798 * configure: Regenerate.
800 2004-11-23 Daniel Jacobowitz <dan@codesourcery.com>
801 Joseph Myers <joseph@codesourcery.com>
803 * internal.h (struct lexer_state): Add in_deferred_pragma.
804 * directives.c (struct pragma_entry): Add allow_expansion.
805 (insert_pragma_entry): Take allow_expansion flag.
806 (register_pragma): Likewise.
807 (cpp_register_pragma): Likewise.
808 (_cpp_init_internal_pragmas): Update calls to cpp_register_pragma.
809 (do_pragma): Honor allow_expansion.
810 (cpp_handle_deferred_pragma): Set in_deferred_pragma.
811 * include/cpplib.h (cpp_register_pragma): Update prototype.
813 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
814 Mark Mitchell <mark@codesourcery.com>
816 * configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set
817 need_64bit_hwint=yes.
818 * configure: Regenerate.
820 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
822 * Makefile.in ($(PACKAGE).pot): New rule. Depend on
824 (po/$(PACKAGE).pot): Use ":" instead of "," in --keyword
825 arguments. Add keywords _, N_, SYNTAX_ERROR and SYNTAX_ERROR2.
826 Remove local srcdir path from generated file.
828 2004-11-04 Zack Weinberg <zack@codesourcery.com>
829 Gerald Pfeifer <gerald@pfeifer.com>
831 * internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
834 2004-10-27 Zack Weinberg <zack@codesourcery.com>
837 * directives.c (do_pragma): Do not defer pragmas which are unknown.
838 (cpp_handle_deferred_pragma): Add cast to silence warning.
840 2004-10-14 Joseph S. Myers <jsm@polyomino.org.uk>
842 * errors.c (_cpp_begin_message): Print "error: " for errors.
844 2004-10-10 Andreas Jaeger <aj@suse.de>
846 * makedepend.c: Include mkdeps.h for prototype of deps_add_vpath.
847 * Makefile.in (makedepend.o): Add dependency on mkdeps.h.
849 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
851 * pch.c (cpp_write_pch_state): Remove variable z as it is not
853 (cpp_read_state): Remove unused variables, m, d and mac_count.
855 2004-09-29 Per Bothner <per@bothner.com>
857 * directives.c (cpp_handle_deferred_pragma): Save, clear and restore
858 cb.line_change. Otherwise do_pragma will call the line_change
859 call-back with a meaningless line number.
861 2004-09-24 Zack Weinberg <zack@codesourcery.com>
863 * configure.ac: Move AC_PROG_MAKE_SET, AC_PROG_INSTALL to
864 programs cluster. Use ACX_PROG_CC_WARNING_OPTS,
865 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_PROG_CC_WARNINGS_ARE_ERRORS.
866 * aclocal.m4, configure: Regenerate.
867 * init.c: Include localedir.h.
868 * Makefile.in (WARN_CFLAGS, ALL_CFLAGS): New variables.
870 (.c.o): Use $(ALL_CFLAGS).
871 (localedir.h, localedir.hs): New rules.
872 (clean): Use rm -rf to remove directories.
873 (distclean): Also delete localedir.h and localedir.hs.
874 (init.o): Update dependencies.
876 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
878 * Makefile.in (aclocal.m4): Update dependencies.
879 * configure.ac (AC_CONFIG_MACRO_DIR): New.
880 * aclocal.m4, configure: Regenerate.
882 2004-09-17 Zack Weinberg <zack@codesourcery.com>
884 * charset.c (_cpp_destroy_iconv, emit_numeric_escape)
885 (_cpp_convert_input, _cpp_default_encoding): Add comments.
886 Some other comments in this file also tweaked.
888 * directives.c (do_pragma): Save current buffer position
889 before lexing the pragma keywords; don't call
890 _cpp_backup_tokens in the defer_pragmas case.
892 2004-09-15 Per Bothner <per@bothner.com>
894 * include/line-map.h (line_map_start): Add parameter names so
895 preceding comment makes sense.
896 (linemap_add): Remove from comment mention of non-existing parameter.
898 2004-09-09 Matt Austern <austern@apple.com>
899 Zack Weinberg <zack@codesourcery.com>
901 * include/cpplib.h (TTYPE_TABLE): Remove CPP_ and SPELL_
902 prefixes throughout. Add entry for PRAGMA. Remove
903 unnecessary "= 0" from EQ.
904 (enum cpp_ttype): Adjust OP and TK definitions to restore
905 prefixes, via token-paste.
906 (CPP_LAST_EQ, CPP_FIRST_DIGRAPH, CPP_LAST_PUNCTUATOR, CPP_LAST_CPP_OP):
907 Change from #defines to additional cpp_ttype enumerators.
908 (struct cpp_options): Add defer_pragmas.
909 (cpp_handle_deferred_pragma): Prototype new interface.
911 * internal.h (struct cpp_reader): Add directive_result.
912 * directives.c (struct pragma_entry): Add is_internal field;
913 give boolean fields type bool.
914 (start_directive): Initialize pfile->directive_result.type.
915 (_cpp_do__Pragma): Likewise.
916 (run_directive): Do not crash if pfile->buffer->prev is NULL.
917 (insert_pragma_entry): Add 'internal' argument; set new->is_internal
919 (register_pragma): New static function, bulk of former
920 cpp_register_pragma here; add 'internal' argument, pass along
921 to insert_pragma_entry.
922 (cpp_register_pragma): Now a wrapper around register_pragma which
923 always passes false for 'internal' argument.
924 (_cpp_init_internal_pragmas): Call register_pragma directly, passing
926 (do_pragma): If CPP_OPTION (pfile, defer_pragmas) and this isn't
927 an internal pragma, save text till the end of the line as a CPP_PRAGMA
928 token instead of executing the pragma.
929 (cpp_handle_deferred_pragma): New interface.
930 * lex.c (token_spellings): Adjust OP and TK definitions to
931 match changes to cpplib.h.
932 (_cpp_lex_token): Check for a directive-result token and
933 return it if present.
934 (cpp_token_val_index): Handle CPP_PRAGMA.
935 * macro.c (cpp_builtin_macro_text): Correct comment.
936 (builtin_macro): Handle directive-result tokens from _cpp_do__Pragma.
938 2004-09-06 Serge Belyshev <belyshev@lubercy.com>
940 PR preprocessor/14699
941 * symtab.c (ht_dump_statistics): Change type of sum_of_squares
942 from size_t to double.
944 2004-08-28 Andreas Schwab <schwab@suse.de>
945 Andreas Jaeger <aj@suse.de>
947 * configure.ac: Set PACKAGE correctly.
948 * configure: Regenerated.
950 2004-08-25 Paolo Bonzini <bonzini@gnu.org>
952 * Makefile.in: Add back top_builddir.
954 2004-08-25 Paolo Bonzini <bonzini@gnu.org>
956 * configure.ac: Replace Automake macro invocations
957 with manual Autoconf checks and substitutions.
958 * configure: Regenerate.
959 * aclocal.m4: Regenerate.
960 * config.in: Regenerate.
961 * Makefile.am: Removed.
962 * Makefile.in: Heavy simplification and reorganization.
964 2004-08-09 Mark Mitchell <mark@codesourcery.com>
966 * configure.ac (arm*-*-eabi*): New target.
967 (arm*-*-symbianelf*): Likewise.
968 * configure: Regenerated.
970 2004-07-24 Bernardo Innocenti <bernie@develer.com>
972 * internal.h (xnew, xcnew, xnewvec, xcnewvec, xobnew): Remove.
973 * directives.c: Use XNEW-family macros from libiberty.
976 * cpplib.h (cpp_deps_style): Export enum with name.
978 2004-07-23 Matthias Klose <doko@debian.org>
980 * init.c (init_library): Use PACKAGE for the text domain.
982 2004-07-16 Andris Pavenis <pavenis@latnet.lv>
984 PR preprocessor/16366
985 * internal.h (struct cpp_reader): New field dir_hash.
986 * files.c (make_cpp_dir): Use dir_hash, not file_hash.
987 (_cpp_init_files, _cpp_cleanup_files): Update for new field.
989 2004-07-04 Neil Booth <neil@duron.akihabara.co.uk>
991 PR preprocessor/16192
992 PR preprocessor/15913
993 PR preprocessor/15572
994 * expr.c (_cpp_parse_expr): Handle remaining cases where an
995 expression is missing.
996 * init.c (post_options): Traditional cpp doesn't do // comments.
998 2004-06-30 Per Bothner <per@bothner.com>
1000 * include/line-map.h (fileline): Remove old typedef.
1001 * internal.h (struct cpp_reader): Use source_location typedef instead.
1003 2004-06-26 Zack Weinberg <zack@codesourcery.com>
1005 Partially revert patch of 2004-06-05.
1006 * files.c (search_cache): Remove pfile argument. Don't check
1007 for file that would be found by "" or <> search here...
1008 (_cpp_find_file): ...do it here, before calling find_file_in_dir.
1009 Do not apply directory-of-current-file correction to files
1010 found by this check. Rearrange code slightly.
1012 2004-06-21 Geoffrey Keating <geoffk@apple.com>
1014 * files.c (should_stack_file): Correct swapped parameters to call
1016 * pch.c (cpp_valid_state): Handle -fpreprocessed.
1018 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
1020 * Makefile.in: Regenerate with automake 1.8.5.
1021 * aclocal.m4: Likewise.
1022 * configure: Regenerate.
1024 2004-06-11 Zack Weinberg <zack@codesourcery.com>
1026 * configure.ac: Don't invoke ACX_HEADER_STDBOOL.
1027 * configure, config.in: Regenerate.
1028 * system.h: Unconditionally define bool as unsigned char,
1029 BOOL_BITFIELD as unsigned int.
1030 * .cvsignore: New file.
1032 2004-06-09 Geoffrey Keating <geoffk@apple.com>
1034 * traditional.c (push_replacement_text): Set macro->traditional.
1035 (save_replacement_text): Likewise.
1036 * pch.c (cpp_write_pch_state): Don't write list of defined macros.
1037 (struct save_macro_item): Delete.
1038 (struct save_macro_data): Use a character array not the previous
1040 (save_macros): Save macro as text not as internal structures.
1041 (cpp_prepare_state): Update for changes to save_macro_data.
1042 (cpp_read_state): Don't read macros defined in PCH. Restore
1044 * macro.c (create_iso_definition): Honour alloc_subobject.
1045 Clear traditional flag.
1046 (_cpp_create_definition): Honour alloc_subobject.
1047 * lex.c (cpp_token_val_index): New.
1048 * internal.h: Include cpp-id-data.h.
1049 (uchar): Move definition to cpp-id-data.h.
1051 (cpp_macro): Likewise.
1052 * directives.c (struct answer): Move to cpp-id-data.h.
1053 (do_assert): Honour alloc_subobject.
1055 * include/symtab.h (struct ht): Add field 'alloc_subobject'.
1056 * include/cpplib.h (struct cpp_string): Add GTY marker.
1057 (enum cpp_token_fld_kind): New.
1058 (struct cpp_token): Add GTY markers.
1059 (cpp_token_val_index): Prototype.
1060 (CPP_HASHNODE_VALUE_IDX): New.
1061 (struct cpp_hashnode): Don't skip fields of 'value' when marking.
1062 * include/cpp-id-data.h: New file.
1064 2004-06-09 Paolo Bonzini <bonzini@gnu.org>
1066 * Makefile.am (all-local): New.
1067 * Makefile.in: Regenerate.
1069 2004-06-06 Roger Sayle <roger@eyesopen.com>
1071 * Makefile.am (LIBICONV): Declare.
1072 (makedepend_LDADD): Use LIBICONV.
1073 * Makefile.in: Regenerate.
1075 2004-06-05 Andrew Pinski <pinskia@physics.uc.edu>
1077 * Makefile.am (LIBINTL): Declare
1078 (makedepend_LDADD): Use LIBINTL.
1079 * Makefile.in: Regenerate.
1081 2004-06-05 Zack Weinberg <zack@codesourcery.com>
1083 * Makefile.am: Add makedepend.
1084 * Makefile.in, aclocal.m4: Regenerate.
1085 * charset.c: Insert a space to avoid a warning.
1086 * directives.c: Include mkdeps.h.
1087 (_cpp_handle_directive): Reenable macro expander if appropriate.
1088 (undefine_macros): Inline body of _cpp_free_definition for speed.
1089 Do not call undef callback or _cpp_warn_if_unused_macro.
1090 (cpp_get_deps): New interface.
1091 * files.c (search_cache): Add pfile argument. Check for file
1092 that would be found by "" or <> search here...
1093 (_cpp_find_file): ...not here. Correct recorded start_dir of
1094 files found by directory-of-current-file search that would be
1095 found by "" or <> search.
1096 * init.c (cpp_add_dependency_target): Delete.
1097 * internal.h (struct lexer_state): Add discarding_output flag.
1098 * lex.c (lex_identifier): Compute hash function while scanning.
1099 * macro.c (cpp_scan_nooutput): Disable macro expansion outside
1101 * makedepend.c: New file.
1102 * mkdeps.c (struct deps): Add vpath vector.
1103 (apply_vpath, deps_add_vpath): New function.
1104 (deps_free): Free vpath vector.
1105 (deps_add_dep, deps_add_target): Use apply_vpath.
1106 * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
1107 (ht_lookup_with_hash): New function.
1108 * cpplib.h, mkdeps.h: Update prototypes.
1109 * symtab.h: Update prototypes.
1110 (HT_HASHSTEP, HT_FINISH): New macros.
1112 2004-05-29 Geoffrey Keating <geoffk@apple.com>
1114 * symtab.c (ht_create): Set entries_owned.
1115 (ht_destroy): Honour entries_owned.
1116 (ht_expand): Likewise.
1118 * include/symtab.h (struct ht): New field 'entries_owned'
1119 (ht_load): New prototype.
1121 2004-05-26 Paolo Bonzini <bonzini@gnu.org>
1124 * configure.ac: Fix m4 quoting when picking
1125 the size of HOST_WIDE_INT.
1126 * configure: Regenerate.
1128 2004-05-25 Paolo Bonzini <bonzini@gnu.org>
1130 * Makefile.am: the correct directory for
1131 gettext include files is given by @INCINTL@.
1132 * Makefile.in: Regenerate.
1134 2004-05-24 Paolo Bonzini <bonzini@gnu.org>
1136 * system.h [!ENABLE_NLS]: dgettext takes two
1139 2004-05-23 Paolo Bonzini <bonzini@gnu.org>
1141 Moved libcpp from the gcc subdirectory to the toplevel.
1142 * Makefile.am: New file.
1143 * Makefile.in: Regenerate.
1144 * configure.ac: New file.
1145 * configure: Regenerate.
1146 * config.in: Regenerate.
1147 * charset.c: Moved from gcc/cppcharset.c. Add note about
1148 brokenness of input charset detection. Adjust for change
1149 in name of cppucnid.h.
1150 * errors.c: Moved from gcc/cpperror.c. Do not include intl.h.
1151 * expr.c: Moved from gcc/cppexp.c.
1152 * files.c: Moved from gcc/cppfiles.c. Do not include intl.h.
1153 Remove #define of O_BINARY, it is in system.h.
1154 * identifiers.c: Moved from gcc/cpphash.c.
1155 * internal.h: Moved from gcc/cpphash.h. Change header
1156 guard name. All other files adjusted to match name change.
1157 * init.c: Moved from gcc/cppinit.c.
1158 (init_library) [ENABLE_NLS]: Call bindtextdomain.
1159 * lex.c: Moved from gcc/cpplex.c.
1160 * directives.c: Moved from gcc/cpplib.c.
1161 * macro.c: Moved from gcc/cppmacro.c.
1162 * pch.c: Moved from gcc/cpppch.c. Do not include intl.h.
1163 * traditional.c: Moved from gcc/cpptrad.c.
1164 * ucnid.h: Moved from gcc/cppucnid.h. Change header
1166 * ucnid.pl: Moved from gcc/cppucnid.pl.
1167 * ucnid.tab: Moved from gcc/cppucnid.tab. Change header
1169 * symtab.c: Moved from gcc/hashtable.c.
1170 * line-map.c: Moved from gcc. Do not include intl.h.
1171 * mkdeps.c: Moved from gcc.
1172 * system.h: New file.
1173 * include/cpplib.h: Moved from gcc. Change header guard name.
1174 * include/line-map.h: Moved from gcc. Change header guard name.
1175 * include/mkdeps.h: Moved from gcc. Change header guard name.
1176 * include/symtab.h: Moved from gcc/hashtable.h. Change header