1*df954420SAlexander Kabaev2007-07-19 Release Manager 2*df954420SAlexander Kabaev 3*df954420SAlexander Kabaev * GCC 4.2.1 released. 4*df954420SAlexander Kabaev 5c7ca977eSAlexander Kabaev2007-05-13 Release Manager 6c7ca977eSAlexander Kabaev 7c7ca977eSAlexander Kabaev * GCC 4.2.0 released. 8c7ca977eSAlexander Kabaev 9c7ca977eSAlexander Kabaev2007-04-23 Tom Tromey <[email protected]> 10c7ca977eSAlexander Kabaev 11c7ca977eSAlexander Kabaev PR preprocessor/30468: 12c7ca977eSAlexander Kabaev * mkdeps.c (apply_vpath): Strip successive '/'s if we stripped 13c7ca977eSAlexander Kabaev './'. 14c7ca977eSAlexander Kabaev 15c7ca977eSAlexander Kabaev2006-12-29 Jakub Jelinek <[email protected]> 16c7ca977eSAlexander Kabaev 17c7ca977eSAlexander Kabaev PR preprocessor/29612 18c7ca977eSAlexander Kabaev * directives.c (do_linemarker): Set pfile->buffer->sysp always, not 19c7ca977eSAlexander Kabaev only when new_sysp is non-zero. 20c7ca977eSAlexander Kabaev 21c7ca977eSAlexander Kabaev2006-10-12 Jakub Jelinek <[email protected]> 22c7ca977eSAlexander Kabaev 23c7ca977eSAlexander Kabaev PR preprocessor/28709 24c7ca977eSAlexander Kabaev * macro.c (paste_tokens): Do error reporting here, use BUF with the 25c7ca977eSAlexander Kabaev spelled LHS token as opposed to spelling it again. 26c7ca977eSAlexander Kabaev (paste_all_tokens): Don't report errors here, just break on failure. 27c7ca977eSAlexander Kabaev 28c7ca977eSAlexander Kabaev2006-10-10 Brooks Moses <[email protected]> 29c7ca977eSAlexander Kabaev 30c7ca977eSAlexander Kabaev * Makefile.in: Added empty "pdf" target. 31c7ca977eSAlexander Kabaev 32c7ca977eSAlexander Kabaev2006-09-22 Geoffrey Keating <[email protected]> 33c7ca977eSAlexander Kabaev 34c7ca977eSAlexander Kabaev * configure.ac: Make need_64_bit_hwint case for x86-darwin 35c7ca977eSAlexander Kabaev match exactly the glob in gcc/config.gcc. 36c7ca977eSAlexander Kabaev * configure: Regenerate. 37c7ca977eSAlexander Kabaev 38c7ca977eSAlexander Kabaev2006-09-13 Joseph S. Myers <[email protected]> 39c7ca977eSAlexander Kabaev 40c7ca977eSAlexander Kabaev PR c/28768 41c7ca977eSAlexander Kabaev PR preprocessor/14634 42c7ca977eSAlexander Kabaev * lex.c (lex_string): Pedwarn for unterminated literals. 43c7ca977eSAlexander Kabaev 44c7ca977eSAlexander Kabaev2006-09-08 Eric Christopher <[email protected]> 45c7ca977eSAlexander Kabaev 46c7ca977eSAlexander Kabaev * configure.ac: Add 64-bit HWI support for i?86-darwin. 47c7ca977eSAlexander Kabaev 48c7ca977eSAlexander Kabaev2006-08-14 Steve Ellcey <[email protected]> 49c7ca977eSAlexander Kabaev 50c7ca977eSAlexander Kabaev PR c++/28288 51c7ca977eSAlexander Kabaev PR c++/14556 52c7ca977eSAlexander Kabaev * include/cpplib.h: Remove <?, >?, <?=, and >?= tokens. 53c7ca977eSAlexander Kabaev (CPP_LAST_EQ): Change. 54c7ca977eSAlexander Kabaev (CPP_LAST_PUNCTUATOR): Change. 55c7ca977eSAlexander Kabaev * expr.c (cpp_operator): Remove MIN and MAX. 56c7ca977eSAlexander Kabaev (reduce): Remove CPP_MIN and CPP_MAX. 57c7ca977eSAlexander Kabaev (num_binary_op): Ditto. 58c7ca977eSAlexander Kabaev * lex.c (_cpp_lex_direct): Ditto. 59c7ca977eSAlexander Kabaev (cpp_avoid_paste): Remove ? as legal symbol after > or <. 60c7ca977eSAlexander Kabaev 61c7ca977eSAlexander Kabaev2006-06-09 Jakub Jelinek <[email protected]> 62c7ca977eSAlexander Kabaev 63c7ca977eSAlexander Kabaev PR preprocessor/27746 64c7ca977eSAlexander Kabaev * directives.c (do_pragma): Handle pragma with valid namespace 65c7ca977eSAlexander Kabaev and invalid name coming from macro expansion. 66c7ca977eSAlexander Kabaev * directives.c (destringize_and_run): Initialize next field in 67c7ca977eSAlexander Kabaev context. 68c7ca977eSAlexander Kabaev 69c7ca977eSAlexander Kabaev PR c/27747 70c7ca977eSAlexander Kabaev PR c++/27748 71c7ca977eSAlexander Kabaev * directives.c (destringize_and_run): Set NO_EXPAND on the 72c7ca977eSAlexander Kabaev tokens. 73c7ca977eSAlexander Kabaev 74c7ca977eSAlexander Kabaev * macro.c (_cpp_backup_tokens): Fix comment typo. 75c7ca977eSAlexander Kabaev 76c7ca977eSAlexander Kabaev2006-05-31 Daniel Jacobowitz <[email protected]> 77c7ca977eSAlexander Kabaev 78c7ca977eSAlexander Kabaev * Makefile.in (CATALOGS): Add po/ prefix. 79c7ca977eSAlexander Kabaev * configure: Regenerated. 80c7ca977eSAlexander Kabaev 81c7ca977eSAlexander Kabaev2006-05-23 Carlos O'Donell <[email protected]> 82c7ca977eSAlexander Kabaev 83c7ca977eSAlexander Kabaev * Makefile.in: Add install-html target. Add install-html to .PHONY 84c7ca977eSAlexander Kabaev 85c7ca977eSAlexander Kabaev2006-02-17 Grigory Zagorodnev <[email protected]> 86c7ca977eSAlexander Kabaev 87c7ca977eSAlexander Kabaev * macro.c (_cpp_builtin_macro_text): Handle BT_TIMESTAMP. 88c7ca977eSAlexander Kabaev * files.c (_cpp_get_file_stat): New function. 89c7ca977eSAlexander Kabaev * include/cpplib.h (builtin_type): Add BT_TIMESTAMP. 90c7ca977eSAlexander Kabaev * init.c (builtin_array): Add support for __TIMESTAMP__/BT_TIMESTAMP. 91c7ca977eSAlexander Kabaev * internal.h (_cpp_get_file_stat): Prototype. 92c7ca977eSAlexander Kabaev (struct cpp_buffer): Add timestamp. 93c7ca977eSAlexander Kabaev 94c7ca977eSAlexander Kabaev2006-01-23 Jakub Jelinek <[email protected]> 95c7ca977eSAlexander Kabaev 96c7ca977eSAlexander Kabaev PR preprocessor/25717 97c7ca977eSAlexander Kabaev * init.c (cpp_init_builtins): If __STDC__ will not change value 98c7ca977eSAlexander Kabaev between system headers and other sources, define it as a normal 99c7ca977eSAlexander Kabaev macro rather than a builtin. 100c7ca977eSAlexander Kabaev * macro.c (_cpp_builtin_macro_text) <case BT_STDC>: Only check 101c7ca977eSAlexander Kabaev cpp_in_system_header condition. 102c7ca977eSAlexander Kabaev 103c7ca977eSAlexander Kabaev2006-01-05 Paolo Bonzini <[email protected]> 104c7ca977eSAlexander Kabaev 105c7ca977eSAlexander Kabaev * Makefile.in: Use -MMD instead of -MD. 106c7ca977eSAlexander Kabaev 107c7ca977eSAlexander Kabaev2006-01-04 Dmitry Kurochkin <[email protected]> 108c7ca977eSAlexander Kabaev Richard Henderson <[email protected]> 109c7ca977eSAlexander Kabaev 110c7ca977eSAlexander Kabaev Merge from gomp branch: 111c7ca977eSAlexander Kabaev * directives.c (struct pragma_entry): Add is_deferred. Add ident 112c7ca977eSAlexander Kabaev entry to value union. 113c7ca977eSAlexander Kabaev (end_directive): Don't eat the line if in_deferred_pragma. 114c7ca977eSAlexander Kabaev (run_directive): Remove pragma hacks. 115c7ca977eSAlexander Kabaev (insert_pragma_entry): Remove. 116c7ca977eSAlexander Kabaev (new_pragma_entry): New. 117c7ca977eSAlexander Kabaev (register_pragma_1): Split out of register_pragma. Only handle 118c7ca977eSAlexander Kabaev the lookup tree and return the new entry. 119c7ca977eSAlexander Kabaev (cpp_register_pragma): Fill in the pragma entry here. 120c7ca977eSAlexander Kabaev (cpp_register_deferred_pragma): New. 121c7ca977eSAlexander Kabaev (register_pragma_internal): New. 122c7ca977eSAlexander Kabaev (_cpp_init_internal_pragmas): Use register_pragma_internal. 123c7ca977eSAlexander Kabaev (do_pragma): Allow pragma expansion after namespace. For deferred 124c7ca977eSAlexander Kabaev pragmas, don't slurp the line into a string. 125c7ca977eSAlexander Kabaev (destringize_and_run): Save tokens for deferred pragmas. 126c7ca977eSAlexander Kabaev (cpp_handle_deferred_pragma): Remove. 127c7ca977eSAlexander Kabaev * macro.c (builtin_macro): Remove pragma token hack. 128c7ca977eSAlexander Kabaev (_cpp_push_token_context): Rename from push_token_context and export. 129c7ca977eSAlexander Kabaev * internal.h (struct lexer_state): Add pragma_allow_expansion. 130c7ca977eSAlexander Kabaev (_cpp_push_token_context): Declare. 131c7ca977eSAlexander Kabaev * lex.c (_cpp_lex_token): Allow _cpp_handle_directive to return 132c7ca977eSAlexander Kabaev a token. Update the line number correctly if so. 133c7ca977eSAlexander Kabaev (_cpp_lex_direct): Emit CPP_PRAGMA_EOL tokens. 134c7ca977eSAlexander Kabaev (cpp_token_val_index): Return CPP_TOKEN_FLD_PRAGMA for pragmas. 135c7ca977eSAlexander Kabaev * include/cpplib.h (PRAGMA_EOL): New. 136c7ca977eSAlexander Kabaev (CPP_TOKEN_FLD_PRAGMA): New. 137c7ca977eSAlexander Kabaev (struct cpp_token): Add val.pragma. 138c7ca977eSAlexander Kabaev (struct cpp_options): Remove defer_pragmas. 139c7ca977eSAlexander Kabaev (cpp_handle_deferred_pragma): Remove. 140c7ca977eSAlexander Kabaev (cpp_register_deferred_pragma): Declare. 141c7ca977eSAlexander Kabaev 142c7ca977eSAlexander Kabaev2006-01-01 Jakub Jelinek <[email protected]> 143c7ca977eSAlexander Kabaev 144c7ca977eSAlexander Kabaev PR c++/25294 145c7ca977eSAlexander Kabaev * directives.c (do_pragma): If pragma line ends with multi-line 146c7ca977eSAlexander Kabaev block comment, end the saved deferred pragma string before that 147c7ca977eSAlexander Kabaev comment. Handle embedded '\0' chars on the pragma line. 148c7ca977eSAlexander Kabaev 149c7ca977eSAlexander Kabaev2005-12-22 Volker Reichelt <[email protected]> 150c7ca977eSAlexander Kabaev 151c7ca977eSAlexander Kabaev PR c++/23333 152c7ca977eSAlexander Kabaev * include/cpplib.h: Add PURE_ZERO to flags for the cpp_token structure. 153c7ca977eSAlexander Kabaev 154c7ca977eSAlexander Kabaev2005-12-07 Jon Grimm <[email protected]> 155c7ca977eSAlexander Kabaev Ben Elliston <[email protected]> 156c7ca977eSAlexander Kabaev 157c7ca977eSAlexander Kabaev * include/cpplib.h (CPP_N_DFLOAT): New. 158c7ca977eSAlexander Kabaev * expr.c (interpret_float_suffix): Identify df, dd, and dl 159c7ca977eSAlexander Kabaev suffixes as decimal floating point constants. 160c7ca977eSAlexander Kabaev (cpp_classify_number): Disallow hexadecimal DFP constants. 161c7ca977eSAlexander Kabaev 162c7ca977eSAlexander Kabaev2005-11-14 Gerald Pfeifer <[email protected]> 163c7ca977eSAlexander Kabaev Ian Lance Taylor <[email protected]> 164c7ca977eSAlexander Kabaev 165c7ca977eSAlexander Kabaev * include/cpplib.h (struct cpp_callbacks): Annotate error with 166c7ca977eSAlexander Kabaev ATTRIBUTE_FPTR_PRINTF(3,0) instead of ATTRIBUTE_PRINTF(3,0). 167c7ca977eSAlexander Kabaev 168c7ca977eSAlexander Kabaev2005-11-09 Per Bothner <[email protected]> 169c7ca977eSAlexander Kabaev Uros Bizjak <[email protected]> 170c7ca977eSAlexander Kabaev 171c7ca977eSAlexander Kabaev PR c/24101 172c7ca977eSAlexander Kabaev * init.c (read_original_filename): Temporarily set 173c7ca977eSAlexander Kabaev state.in_directive before calling _cpp_lex_direct for 174c7ca977eSAlexander Kabaev CPP_HASH tokens. 175c7ca977eSAlexander Kabaev 176c7ca977eSAlexander Kabaev2005-11-03 James E Wilson <[email protected]> 177c7ca977eSAlexander Kabaev 178c7ca977eSAlexander Kabaev PR preprocessor/24202 179c7ca977eSAlexander Kabaev * files.c (_cpp_pop_file_buffer): Set buffer_valid to false. 180c7ca977eSAlexander Kabaev 181c7ca977eSAlexander Kabaev2005-11-04 Joseph S. Myers <[email protected]> 182c7ca977eSAlexander Kabaev 183c7ca977eSAlexander Kabaev * include/cpplib.h (struct cpp_callbacks): Make error take 184c7ca977eSAlexander Kabaev va_list* parameter. 185c7ca977eSAlexander Kabaev * errors.c (cpp_error): Update call to callback. 186c7ca977eSAlexander Kabaev 187c7ca977eSAlexander Kabaev2005-11-03 Andrew Pinski <[email protected]> 188c7ca977eSAlexander Kabaev 189c7ca977eSAlexander Kabaev PR preprocessor/22042 190c7ca977eSAlexander Kabaev * macro.c (_cpp_builtin_macro_text): Lower the needed max 191c7ca977eSAlexander Kabaev buffer size. 192c7ca977eSAlexander Kabaev (cpp_quote_string): Don't octalify non printable 193c7ca977eSAlexander Kabaev charactors. 194c7ca977eSAlexander Kabaev 195c7ca977eSAlexander Kabaev2005-11-03 Joseph S. Myers <[email protected]> 196c7ca977eSAlexander Kabaev 197c7ca977eSAlexander Kabaev PR c++/17964 198c7ca977eSAlexander Kabaev * include/cpplib.h (struct cpp_options): Add client_diagnostic. 199c7ca977eSAlexander Kabaev (struct cpp_callbacks): Add error. 200c7ca977eSAlexander Kabaev * errors.c (cpp_error): If client_diagnostic, use error callback. 201c7ca977eSAlexander Kabaev * charset.c (convert_escape): Don't use %03o in diagnostic. 202c7ca977eSAlexander Kabaev 203c7ca977eSAlexander Kabaev2005-10-21 James E Wilson <[email protected]> 204c7ca977eSAlexander Kabaev 205c7ca977eSAlexander Kabaev PR preprocessor/15220 206c7ca977eSAlexander Kabaev * files.c (_cpp_find_file): New parameter angle_brackets. Fix all 207c7ca977eSAlexander Kabaev callers. Pass to open_file_failed. 208c7ca977eSAlexander Kabaev (open_file_failed): New parameter angle_brackets. Fix all callers. 209c7ca977eSAlexander Kabaev Use in print_dep assignment. 210c7ca977eSAlexander Kabaev * init.c (cpp_read_main_file): Pass additional arg to _cpp_find_file. 211c7ca977eSAlexander Kabaev * internal.h (_cpp_find_file): Add new parm to declaration. 212c7ca977eSAlexander Kabaev 213c7ca977eSAlexander Kabaev2005-10-08 Kazu Hirata <[email protected]> 214c7ca977eSAlexander Kabaev 215c7ca977eSAlexander Kabaev * configure.ac: Require 64-bit int for arm*-*-*eabi*. 216c7ca977eSAlexander Kabaev * configure: Regenerate. 217c7ca977eSAlexander Kabaev 218c7ca977eSAlexander Kabaev2005-10-04 Ian Lance Taylor <[email protected]> 219c7ca977eSAlexander Kabaev 220c7ca977eSAlexander Kabaev PR preprocessor/13726 221c7ca977eSAlexander Kabaev * directives.c (check_eol_return_comments): New static function. 222c7ca977eSAlexander Kabaev (parse_include): Add buf parameter. Change all callers. 223c7ca977eSAlexander Kabaev (do_include_common): If not discard comments, turn on 224c7ca977eSAlexander Kabaev save_comments. Pass collected comments to include callback. 225c7ca977eSAlexander Kabaev * include/cpplib.h (struct cpp_callbacks): Add new parameter to 226c7ca977eSAlexander Kabaev include callback: cpp_token list. 227c7ca977eSAlexander Kabaev 228c7ca977eSAlexander Kabaev2005-09-20 Joseph S. Myers <[email protected]> 229c7ca977eSAlexander Kabaev 230c7ca977eSAlexander Kabaev * include/cpplib.h (struct cpp_options): Add extended_identifiers. 231c7ca977eSAlexander Kabaev * init.c (struct lang_flags, lang_defaults): Add 232c7ca977eSAlexander Kabaev extended_identifiers. 233c7ca977eSAlexander Kabaev (cpp_set_lang): Use it. 234c7ca977eSAlexander Kabaev * lex.c (forms_identifier_p): Check extended_identifiers. 235c7ca977eSAlexander Kabaev 236c7ca977eSAlexander Kabaev2005-08-30 Jakub Jelinek <[email protected]> 237c7ca977eSAlexander Kabaev 238c7ca977eSAlexander Kabaev PR preprocessor/20348 239c7ca977eSAlexander Kabaev PR preprocessor/20356 240c7ca977eSAlexander Kabaev * files.c (_cpp_find_file, search_cache): Revert 2004-06-26 and 241c7ca977eSAlexander Kabaev 2004-06-05 changes. 242c7ca977eSAlexander Kabaev 243c7ca977eSAlexander Kabaev2005-07-23 Kaveh R. Ghazi <[email protected]> 244c7ca977eSAlexander Kabaev 245c7ca977eSAlexander Kabaev * configure.ac (ACX_PROG_CC_WARNING_OPTS): add 246c7ca977eSAlexander Kabaev -Wmissing-format-attribute. 247c7ca977eSAlexander Kabaev 248c7ca977eSAlexander Kabaev * configure: Regenerate. 249c7ca977eSAlexander Kabaev 250c7ca977eSAlexander Kabaev2005-06-29 Kelley Cook <[email protected]> 251c7ca977eSAlexander Kabaev 252c7ca977eSAlexander Kabaev * all files: Update FSF address in copyright headers. 253c7ca977eSAlexander Kabaev * makeucnid.c (write_copyright): Update outputted FSF address. 254c7ca977eSAlexander Kabaev 255c7ca977eSAlexander Kabaev2005-06-13 Zack Weinberg <[email protected]> 256c7ca977eSAlexander Kabaev 257c7ca977eSAlexander Kabaev * configure.ac: Invoke ZW_CREATE_DEPDIR and 258c7ca977eSAlexander Kabaev ZW_PROG_COMPILER_DEPENDENCIES. 259c7ca977eSAlexander Kabaev * aclocal.m4, configure: Regenerate. 260c7ca977eSAlexander Kabaev * Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.base, COMPILE): 261c7ca977eSAlexander Kabaev New variables. 262c7ca977eSAlexander Kabaev (distclean): Clean up $(DEPDIR) and its contents. 263c7ca977eSAlexander Kabaev (.c.o): Use $(COMPILE). 264c7ca977eSAlexander Kabaev Include $(DEPDIR)/*.Po for most object->header dependencies. 265c7ca977eSAlexander Kabaev 266c7ca977eSAlexander Kabaev2005-05-28 Gabriel Dos Reis <[email protected]> 267c7ca977eSAlexander Kabaev 268c7ca977eSAlexander Kabaev * configure.ac: Check declarations for asprintf and vasprintf. 269c7ca977eSAlexander Kabaev * config.in: Regenerate. 270c7ca977eSAlexander Kabaev * configure: Likewise. 271c7ca977eSAlexander Kabaev 272c7ca977eSAlexander Kabaev * charset.c (conversion_loop): Use XRESIZEVEC. 273c7ca977eSAlexander Kabaev (convert_no_conversion): Likewise. 274c7ca977eSAlexander Kabaev (convert_using_iconv): Likewise. 275c7ca977eSAlexander Kabaev (init_iconv_desc): Cast return value of alloca. 276c7ca977eSAlexander Kabaev (cpp_host_to_exec_charset): Use XNEWVEC. 277c7ca977eSAlexander Kabaev (emit_numeric_escape): Use XRESIZEVEC. 278c7ca977eSAlexander Kabaev (cpp_interpret_string): Use XNEWVEC. 279c7ca977eSAlexander Kabaev (cpp_interpret_string): Use XRESIZEVEC. 280c7ca977eSAlexander Kabaev (_cpp_interpret_identifier): Cast return value of alloca. 281c7ca977eSAlexander Kabaev (_cpp_convert_input): Use XNEWVEC and XRESIZEVEC. 282c7ca977eSAlexander Kabaev * directives.c (glue_header_name): Use XNEWVEC and XRESIZEVEC. 283c7ca977eSAlexander Kabaev (parse_include): Use XNEWVEC. 284c7ca977eSAlexander Kabaev (insert_pragma_entry): Rename local variable "new" to 285c7ca977eSAlexander Kabaev "new_entry". 286c7ca977eSAlexander Kabaev (save_registered_pragmas): Cast return value of xmemdup. 287c7ca977eSAlexander Kabaev (destringize_and_run): Same for alloca. 288c7ca977eSAlexander Kabaev (parse_assertion): Likewise. 289c7ca977eSAlexander Kabaev (do_assert): Cast allocated storage to proper type. 290c7ca977eSAlexander Kabaev (cpp_define): Likewise. 291c7ca977eSAlexander Kabaev (_cpp_define_builtin): Likewise. 292c7ca977eSAlexander Kabaev (cpp_undef): Likewise. 293c7ca977eSAlexander Kabaev (handle_assertion): Likewise. 294c7ca977eSAlexander Kabaev (cpp_push_buffer): Rename local variable "new" to "new_buffer". 295c7ca977eSAlexander Kabaev * expr.c (CPP_UPLUS): Cast value to type cpp_ttype. 296c7ca977eSAlexander Kabaev (CPP_UMINUS): Likewise. 297c7ca977eSAlexander Kabaev (struct cpp_operator): Rename from struct operator. 298c7ca977eSAlexander Kabaev (_cpp_expand_op_stack): Use XRESIZEVEC. 299c7ca977eSAlexander Kabaev * files.c (pch_open_file): Use XNEWVEC. 300c7ca977eSAlexander Kabaev (pch_open_file): Use XRESIZEVEC. 301c7ca977eSAlexander Kabaev (read_file_guts): Use XNEWVEC and XRESIZEVEC. 302c7ca977eSAlexander Kabaev (dir_name_of_file): Use XNEWVEC. 303c7ca977eSAlexander Kabaev (make_cpp_file): Use XCNEW. 304c7ca977eSAlexander Kabaev (make_cpp_dir): Likewise. 305c7ca977eSAlexander Kabaev (allocate_file_hash_entries): USE XNEWVEC. 306c7ca977eSAlexander Kabaev (cpp_included): Cast return value of htab_find_with_hash. 307c7ca977eSAlexander Kabaev (append_file_to_dir): Use XNEWVEC. 308c7ca977eSAlexander Kabaev (read_filename_string): Likewise. Use XRESIZEVEC too. 309c7ca977eSAlexander Kabaev (read_name_map): Cast return value of alloca. Use XRESIZEVEC. 310c7ca977eSAlexander Kabaev (remap_filename): Use XNEWVEC. 311c7ca977eSAlexander Kabaev (struct pchf_entry): Move definition out of struct pchf_data. 312c7ca977eSAlexander Kabaev (_cpp_save_file_entries): Use XCNEWVAR. 313c7ca977eSAlexander Kabaev (_cpp_read_file_entries): Use XNEWVAR. 314c7ca977eSAlexander Kabaev * identifiers.c (alloc_node): Use XOBNEW. 315c7ca977eSAlexander Kabaev * init.c (cpp_create_reader): Use XCNEW. 316c7ca977eSAlexander Kabaev (cpp_init_builtins): Cast of b->value to enum builtin_type. 317c7ca977eSAlexander Kabaev (read_original_directory): Cast return value of alloca. 318c7ca977eSAlexander Kabaev * lex.c (add_line_note): Use XRESIZEVEC. 319c7ca977eSAlexander Kabaev (warn_about_normalization): Use XNEWVEC. 320c7ca977eSAlexander Kabaev (_cpp_lex_direct): Cast node->directive_index to (enum cpp_ttype). 321c7ca977eSAlexander Kabaev (new_buff): Use XNEWVEC. 322c7ca977eSAlexander Kabaev * line-map.c (linemap_add): Use XRESIZEVEC. 323c7ca977eSAlexander Kabaev * macro.c (builtin_macro): Cast return value of alloca. 324c7ca977eSAlexander Kabaev (paste_tokens): Likewise. 325c7ca977eSAlexander Kabaev (expand_arg): Use XNEWVEC and XRESIZEVEC. 326c7ca977eSAlexander Kabaev (_cpp_save_parameter): Use XRESIZEVEC. 327c7ca977eSAlexander Kabaev (create_iso_definition): Cast allocated storage to proper type. 328c7ca977eSAlexander Kabaev (_cpp_create_definition): Likewise. 329c7ca977eSAlexander Kabaev (cpp_macro_definition): Use XRESIZEVEC. 330c7ca977eSAlexander Kabaev * makedepend.c (add_clm): Use XNEW. 331c7ca977eSAlexander Kabaev (add_dir): Likewise. 332c7ca977eSAlexander Kabaev * mkdeps.c (munge): Use XNEWVEC. 333c7ca977eSAlexander Kabaev (deps_init): Use XCNEW. 334c7ca977eSAlexander Kabaev (deps_add_target): Use XRESIZEVEC. 335c7ca977eSAlexander Kabaev (deps_add_default_target): Cast return value of alloca. 336c7ca977eSAlexander Kabaev (deps_add_dep): Use XRESIZEVEC. 337c7ca977eSAlexander Kabaev (deps_add_vpath): Likewise. Use XNEWVEC too. 338c7ca977eSAlexander Kabaev (deps_restore): Likewise. 339c7ca977eSAlexander Kabaev * pch.c (save_idents): Use XNEW and XNEWVEC. 340c7ca977eSAlexander Kabaev (cpp_save_state): Use XNEW. 341c7ca977eSAlexander Kabaev (count_defs): Cast return value of htab_find. 342c7ca977eSAlexander Kabaev (write_defs): Likewise. 343c7ca977eSAlexander Kabaev (cpp_write_pch_deps): Use XNEWVEC. 344c7ca977eSAlexander Kabaev (collect_ht_nodes): Use XRESIZEVEC. 345c7ca977eSAlexander Kabaev (cpp_valid_state): Use XNEWVEC. 346c7ca977eSAlexander Kabaev (save_macros): Use XRESIZEVEC. Cast return value of xmemdup. 347c7ca977eSAlexander Kabaev * symtab.c (ht_create): Use XCNEW. 348c7ca977eSAlexander Kabaev (ht_lookup_with_hash): Cast return value of obstack_copy0. 349c7ca977eSAlexander Kabaev (ht_expand): Use XCNEWVEC. 350c7ca977eSAlexander Kabaev * system.h (HAVE_DESIGNATED_INITIALIZERS): False if __cplusplus. 351c7ca977eSAlexander Kabaev (bool): Do not define if __cplusplus. 352c7ca977eSAlexander Kabaev 353c7ca977eSAlexander Kabaev2005-05-12 Zack Weinberg <[email protected]> 354c7ca977eSAlexander Kabaev 355c7ca977eSAlexander Kabaev * directives.c (#sccs table entry): Mark IN_I, consistent with #ident. 356c7ca977eSAlexander Kabaev (do_sccs): Delete function definition, #define to do_ident. 357c7ca977eSAlexander Kabaev (do_ident): Don't hardwire directive name. 358c7ca977eSAlexander Kabaev 359c7ca977eSAlexander Kabaev2005-05-12 Ryota Kunisawa <[email protected]> 360c7ca977eSAlexander Kabaev 361c7ca977eSAlexander Kabaev PR bootstrap/21230 362c7ca977eSAlexander Kabaev * configure: Regenerate. 363c7ca977eSAlexander Kabaev 364c7ca977eSAlexander Kabaev2005-04-27 Andris Pavenis <[email protected]> 365c7ca977eSAlexander Kabaev 366c7ca977eSAlexander Kabaev * files.c: Include io.h for DJGPP to get prototype of setmode. 367c7ca977eSAlexander Kabaev 368c7ca977eSAlexander Kabaev2005-04-19 Per Bothner <[email protected]> 369c7ca977eSAlexander Kabaev 370c7ca977eSAlexander Kabaev PR preprocessor/20907 371c7ca977eSAlexander Kabaev * line-map.c (linemap_line_start): Fix bug when we need to increse 372c7ca977eSAlexander Kabaev column_bits but can re-use the current line_map. 373c7ca977eSAlexander Kabaev 374c7ca977eSAlexander Kabaev2005-04-19 Kaveh R. Ghazi <[email protected]> 375c7ca977eSAlexander Kabaev 376c7ca977eSAlexander Kabaev * system.h (fopen, fdopen, freopen): Define these to the unlocked 377c7ca977eSAlexander Kabaev libiberty functions. 378c7ca977eSAlexander Kabaev 379c7ca977eSAlexander Kabaev2005-04-11 Kaveh R. Ghazi <[email protected]> 380c7ca977eSAlexander Kabaev 381c7ca977eSAlexander Kabaev * configure.ac (libcpp_UNLOCKED_FUNCS): New. 382c7ca977eSAlexander Kabaev (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS. 383c7ca977eSAlexander Kabaev * system.h (putchar, getc, getchar, clearerr, feof, fileno, 384c7ca977eSAlexander Kabaev fflush, fgetc, fgets, ferror, fread): Redefine to the associated 385c7ca977eSAlexander Kabaev _unlocked function. 386c7ca977eSAlexander Kabaev (fwrite_unlocked): Fix prototype. 387c7ca977eSAlexander Kabaev 388c7ca977eSAlexander Kabaev * configure, config.in: Regenerate. 389c7ca977eSAlexander Kabaev 390c7ca977eSAlexander Kabaev2005-04-05 Jakub Jelinek <[email protected]> 391c7ca977eSAlexander Kabaev 392c7ca977eSAlexander Kabaev PR preprocessor/19475 393c7ca977eSAlexander Kabaev * macro.c (create_iso_definition): For < ISO C99, don't 394c7ca977eSAlexander Kabaev pedwarn if there is no whitespace between macro name and its 395c7ca977eSAlexander Kabaev replacement, but the replacement starts with a basic character 396c7ca977eSAlexander Kabaev set character. 397c7ca977eSAlexander Kabaev 398c7ca977eSAlexander Kabaev2005-03-28 Andreas Jaeger <[email protected]> 399c7ca977eSAlexander Kabaev 400c7ca977eSAlexander Kabaev * lex.c (warn_about_normalization): Cast field width to int to 401c7ca977eSAlexander Kabaev avoid warning. 402c7ca977eSAlexander Kabaev 403c7ca977eSAlexander Kabaev2005-03-19 Joseph S. Myers <[email protected]> 404c7ca977eSAlexander Kabaev 405c7ca977eSAlexander Kabaev * configure.ac: Consistently use solaris2.1[0-9]* instead of 406c7ca977eSAlexander Kabaev solaris2.1[0-9]. 407c7ca977eSAlexander Kabaev * configure: Regenerate. 408c7ca977eSAlexander Kabaev 409c7ca977eSAlexander Kabaev2005-03-15 Geoffrey Keating <[email protected]> 410c7ca977eSAlexander Kabaev 411c7ca977eSAlexander Kabaev * charset.c (_cpp_valid_ucn): In identifiers, reject a partial 412c7ca977eSAlexander Kabaev UCN rather than printing an error. 413c7ca977eSAlexander Kabaev 414c7ca977eSAlexander Kabaev2005-03-14 Geoffrey Keating <[email protected]> 415c7ca977eSAlexander Kabaev 416c7ca977eSAlexander Kabaev * lex.c (forms_identifier_p): Disable UCNs in C89 mode. 417c7ca977eSAlexander Kabaev 418c7ca977eSAlexander Kabaev2005-03-14 Geoffrey Keating <[email protected]> 419c7ca977eSAlexander Kabaev 420c7ca977eSAlexander Kabaev * init.c (cpp_create_reader): Default warn_normalize to normalized_C. 421c7ca977eSAlexander Kabaev * charset.c: Update for new format of ucnid.h. 422c7ca977eSAlexander Kabaev (ucn_valid_in_identifier): Update for new format of ucnid.h. 423c7ca977eSAlexander Kabaev Add NST parameter, and update it; update callers. 424c7ca977eSAlexander Kabaev (cpp_valid_ucn): Add NST parameter, update callers. Replace abort 425c7ca977eSAlexander Kabaev with cpp_error. 426c7ca977eSAlexander Kabaev (convert_ucn): Pass normalize_state to cpp_valid_ucn. 427c7ca977eSAlexander Kabaev * internal.h (struct normalize_state): New. 428c7ca977eSAlexander Kabaev (INITIAL_NORMALIZE_STATE): New. 429c7ca977eSAlexander Kabaev (NORMALIZE_STATE_RESULT): New. 430c7ca977eSAlexander Kabaev (NORMALIZE_STATE_UPDATE_IDNUM): New. 431c7ca977eSAlexander Kabaev (_cpp_valid_ucn): New. 432c7ca977eSAlexander Kabaev * lex.c (warn_about_normalization): New. 433c7ca977eSAlexander Kabaev (forms_identifier_p): Add normalize_state parameter, update callers. 434c7ca977eSAlexander Kabaev (lex_identifier): Add normalize_state parameter, update callers. Keep 435c7ca977eSAlexander Kabaev the state current. 436c7ca977eSAlexander Kabaev (lex_number): Likewise. 437c7ca977eSAlexander Kabaev (_cpp_lex_direct): Pass normalize_state to subroutines. Check 438c7ca977eSAlexander Kabaev it with warn_about_normalization. 439c7ca977eSAlexander Kabaev * makeucnid.c: New. 440c7ca977eSAlexander Kabaev * ucnid.h: Replace. 441c7ca977eSAlexander Kabaev * ucnid.pl: Remove. 442c7ca977eSAlexander Kabaev * ucnid.tab: Make appropriate for input to makeucnid.c. Remove 443c7ca977eSAlexander Kabaev comments about obsolete version of C++. 444c7ca977eSAlexander Kabaev * include/cpplib.h (enum cpp_normalize_level): New. 445c7ca977eSAlexander Kabaev (struct cpp_options): Add warn_normalize field. 446c7ca977eSAlexander Kabaev 447c7ca977eSAlexander Kabaev2005-03-11 Geoffrey Keating <[email protected]> 448c7ca977eSAlexander Kabaev 449c7ca977eSAlexander Kabaev * directives.c (glue_header_name): Update call to cpp_spell_token. 450c7ca977eSAlexander Kabaev * internal.h (_cpp_interpret_identifier): New. 451c7ca977eSAlexander Kabaev * charset.c (_cpp_interpret_identifier): New. 452c7ca977eSAlexander Kabaev (_cpp_valid_ucn): Allow UCN version of '$'. 453c7ca977eSAlexander Kabaev * lex.c (lex_identifier): Add extra parameter to indicate if initial 454c7ca977eSAlexander Kabaev character was '$' or '\'. Support identifiers with UCNs. 455c7ca977eSAlexander Kabaev (forms_identifier_p): Allow UCNs. 456c7ca977eSAlexander Kabaev (_cpp_lex_direct): Pass extra parameter to lex_identifier. 457c7ca977eSAlexander Kabaev (utf8_to_ucn): New. 458c7ca977eSAlexander Kabaev (cpp_spell_token): Add FORSTRING parameter. Use it. 459c7ca977eSAlexander Kabaev (cpp_token_as_text): Update call to cpp_spell_token. 460c7ca977eSAlexander Kabaev (cpp_output_token): Write UCNs back out. 461c7ca977eSAlexander Kabaev (stringify_arg): Update call to cpp_spell_token. 462c7ca977eSAlexander Kabaev (paste_tokens): Likewise. 463c7ca977eSAlexander Kabaev (cpp_macro_definition): Likewise. 464c7ca977eSAlexander Kabaev * macro.c (stringify_arg): Likewise. 465c7ca977eSAlexander Kabaev (paste_tokens): Likewise. 466c7ca977eSAlexander Kabaev (cpp_macro_definition): Likewise. 467c7ca977eSAlexander Kabaev * include/cpplib.h: Add parameter to cpp_spell_token. 468c7ca977eSAlexander Kabaev 469c7ca977eSAlexander Kabaev2005-03-04 Jakub Jelinek <[email protected]> 470c7ca977eSAlexander Kabaev 471c7ca977eSAlexander Kabaev PR bootstrap/20282 472c7ca977eSAlexander Kabaev PR bootstrap/20305 473c7ca977eSAlexander Kabaev * macro.c (replace_args, cpp_get_token): Copy whole 474c7ca977eSAlexander Kabaev cpp_token_u instead of just cpp_string field from it. 475c7ca977eSAlexander Kabaev 476c7ca977eSAlexander Kabaev2005-02-28 Devang Patel <[email protected]> 477c7ca977eSAlexander Kabaev 478c7ca977eSAlexander Kabaev * directives.c (do_line): Save sysp early before line table is 479c7ca977eSAlexander Kabaev realloc'ed. 480c7ca977eSAlexander Kabaev 481c7ca977eSAlexander Kabaev2005-02-20 Zack Weinberg <[email protected]> 482c7ca977eSAlexander Kabaev 483c7ca977eSAlexander Kabaev PR 18785 484c7ca977eSAlexander Kabaev * charset.c (LAST_POSSIBLY_BASIC_SOURCE_CHAR): New helper macro. 485c7ca977eSAlexander Kabaev (cpp_host_to_exec_charset): New function. 486c7ca977eSAlexander Kabaev * include/cpplib.h: Declare cpp_host_to_exec_charset. 487c7ca977eSAlexander Kabaev 488c7ca977eSAlexander Kabaev2005-02-19 Devang Patel <[email protected]> 489c7ca977eSAlexander Kabaev 490c7ca977eSAlexander Kabaev * charset.c (_cpp_convert_input): Check '\r' before inserting 491c7ca977eSAlexander Kabaev '\n' at the end. 492c7ca977eSAlexander Kabaev 493c7ca977eSAlexander Kabaev2005-02-15 Eric Christopher <[email protected]> 494c7ca977eSAlexander Kabaev 495c7ca977eSAlexander Kabaev PR preprocessor/19077 496c7ca977eSAlexander Kabaev * macro.c (cpp_macro_definition): Move handling of whitespace 497c7ca977eSAlexander Kabaev to PREV_WHITE conditional. Remove overloading of len 498c7ca977eSAlexander Kabaev variable. 499c7ca977eSAlexander Kabaev 500c7ca977eSAlexander Kabaev2005-02-14 Kazu Hirata <[email protected]> 501c7ca977eSAlexander Kabaev 502c7ca977eSAlexander Kabaev * directives.c, files.c, init.c, internal.h, macro.c, pch.c, 503c7ca977eSAlexander Kabaev traditional.c: Update copyright. 504c7ca977eSAlexander Kabaev 505c7ca977eSAlexander Kabaev2005-02-14 Paolo Bonzini <[email protected]> 506c7ca977eSAlexander Kabaev 507c7ca977eSAlexander Kabaev PR bootstrap/19818 508c7ca977eSAlexander Kabaev * configure.ac: Check for declaration of basename and getopt. 509c7ca977eSAlexander Kabaev * config.in: Regenerate. 510c7ca977eSAlexander Kabaev * configure: Regenerate. 511c7ca977eSAlexander Kabaev * internal.h (ustrcspn): New. 512c7ca977eSAlexander Kabaev * macro.c (create_iso_definition): Fix allocation of memory. 513c7ca977eSAlexander Kabaev (padding_token): Add cast to remove const-ness. 514c7ca977eSAlexander Kabaev * pch.c (cpp_read_state): Use ustrcspn. 515c7ca977eSAlexander Kabaev 516c7ca977eSAlexander Kabaev2005-02-08 Mike Stump <[email protected]> 517c7ca977eSAlexander Kabaev 518c7ca977eSAlexander Kabaev * files.c (pchf_adder): Remove. 519c7ca977eSAlexander Kabaev (struct pchf_adder_info): Likewise. 520c7ca977eSAlexander Kabaev (_cpp_save_file_entries): Write out all files so that #import works. 521c7ca977eSAlexander Kabaev 522c7ca977eSAlexander Kabaev2005-01-23 Joseph S. Myers <[email protected]> 523c7ca977eSAlexander Kabaev 524c7ca977eSAlexander Kabaev * configure: Regenerate. 525c7ca977eSAlexander Kabaev 526c7ca977eSAlexander Kabaev2005-01-11 Tobias Schlueter <[email protected]> 527c7ca977eSAlexander Kabaev 528c7ca977eSAlexander Kabaev * include/cpplib.h (c_lang): Fix comment to say cpp_create_reader. 529c7ca977eSAlexander Kabaev 530c7ca977eSAlexander Kabaev * include/cpplib.h: Also update copyright years. 531c7ca977eSAlexander Kabaev 532c7ca977eSAlexander Kabaev2005-01-03 Geoffrey Keating <[email protected]> 533c7ca977eSAlexander Kabaev 534c7ca977eSAlexander Kabaev * files.c (_cpp_find_file): Add files found by search_path_exhausted 535c7ca977eSAlexander Kabaev to the list of all files. 536c7ca977eSAlexander Kabaev 537c7ca977eSAlexander Kabaev2005-01-01 Gabriel Dos Reis <[email protected]> 538c7ca977eSAlexander Kabaev 539c7ca977eSAlexander Kabaev * internal.h: Update references to Cpp lib filenames. 540c7ca977eSAlexander Kabaev * directives.c: Likewise. 541c7ca977eSAlexander Kabaev * init.c: Likewise. 542c7ca977eSAlexander Kabaev * macro.c: Likewise. 543c7ca977eSAlexander Kabaev * traditional.c: Likewise. 544c7ca977eSAlexander Kabaev 545c7ca977eSAlexander Kabaev2004-12-15 Eric Botcazou <[email protected]> 546c7ca977eSAlexander Kabaev 547c7ca977eSAlexander Kabaev PR preprocessor/15167 548c7ca977eSAlexander Kabaev * files.c (destroy_cpp_file): New function. 549c7ca977eSAlexander Kabaev (should_stack_file): Make a new file if the 550c7ca977eSAlexander Kabaev compared file is still stacked. 551c7ca977eSAlexander Kabaev 552c7ca977eSAlexander Kabaev2004-11-28 Nathanael Nerode <[email protected]> 553c7ca977eSAlexander Kabaev 554c7ca977eSAlexander Kabaev PR preprocessor/17610 555c7ca977eSAlexander Kabaev * directives.c (do_include_common): Error out if an empty filename 556c7ca977eSAlexander Kabaev is given for #include (or #include_next or #import). 557c7ca977eSAlexander Kabaev 558c7ca977eSAlexander Kabaev2004-11-27 Roger Sayle <[email protected]> 559c7ca977eSAlexander Kabaev Zack Weinberg <[email protected]> 560c7ca977eSAlexander Kabaev 561c7ca977eSAlexander Kabaev * internal.h: Replace all uses of uchar with unsigned char. 562c7ca977eSAlexander Kabaev * include/cpp-id-data.h: Likewise. Guard typedef of uchar 563c7ca977eSAlexander Kabaev with !IN_GCC, so uchar is only defined whilst building libcpp. 564c7ca977eSAlexander Kabaev 565c7ca977eSAlexander Kabaev2004-11-24 Kelley Cook <[email protected]> 566c7ca977eSAlexander Kabaev 567c7ca977eSAlexander Kabaev * aclocal.m4: Regenerate. 568c7ca977eSAlexander Kabaev 569c7ca977eSAlexander Kabaev2004-11-24 Roger Sayle <[email protected]> 570c7ca977eSAlexander Kabaev 571c7ca977eSAlexander Kabaev PR preprocessor/15824 572c7ca977eSAlexander Kabaev * configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h> 573c7ca977eSAlexander Kabaev directly, instead of the non-existant "system.h" and "ansidecl.h". 574c7ca977eSAlexander Kabaev * configure: Regenerate. 575c7ca977eSAlexander Kabaev 576c7ca977eSAlexander Kabaev2004-11-23 Daniel Jacobowitz <[email protected]> 577c7ca977eSAlexander Kabaev Joseph Myers <[email protected]> 578c7ca977eSAlexander Kabaev 579c7ca977eSAlexander Kabaev * internal.h (struct lexer_state): Add in_deferred_pragma. 580c7ca977eSAlexander Kabaev * directives.c (struct pragma_entry): Add allow_expansion. 581c7ca977eSAlexander Kabaev (insert_pragma_entry): Take allow_expansion flag. 582c7ca977eSAlexander Kabaev (register_pragma): Likewise. 583c7ca977eSAlexander Kabaev (cpp_register_pragma): Likewise. 584c7ca977eSAlexander Kabaev (_cpp_init_internal_pragmas): Update calls to cpp_register_pragma. 585c7ca977eSAlexander Kabaev (do_pragma): Honor allow_expansion. 586c7ca977eSAlexander Kabaev (cpp_handle_deferred_pragma): Set in_deferred_pragma. 587c7ca977eSAlexander Kabaev * include/cpplib.h (cpp_register_pragma): Update prototype. 588c7ca977eSAlexander Kabaev 589c7ca977eSAlexander Kabaev2004-11-18 Daniel Jacobowitz <[email protected]> 590c7ca977eSAlexander Kabaev Mark Mitchell <[email protected]> 591c7ca977eSAlexander Kabaev 592c7ca977eSAlexander Kabaev * configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set 593c7ca977eSAlexander Kabaev need_64bit_hwint=yes. 594c7ca977eSAlexander Kabaev * configure: Regenerate. 595c7ca977eSAlexander Kabaev 596c7ca977eSAlexander Kabaev2004-11-09 Joseph S. Myers <[email protected]> 597c7ca977eSAlexander Kabaev 598c7ca977eSAlexander Kabaev * Makefile.in ($(PACKAGE).pot): New rule. Depend on 599c7ca977eSAlexander Kabaev po/$(PACKAGE).pot. 600c7ca977eSAlexander Kabaev (po/$(PACKAGE).pot): Use ":" instead of "," in --keyword 601c7ca977eSAlexander Kabaev arguments. Add keywords _, N_, SYNTAX_ERROR and SYNTAX_ERROR2. 602c7ca977eSAlexander Kabaev Remove local srcdir path from generated file. 603c7ca977eSAlexander Kabaev 604c7ca977eSAlexander Kabaev2004-11-04 Zack Weinberg <[email protected]> 605c7ca977eSAlexander Kabaev Gerald Pfeifer <[email protected]> 606c7ca977eSAlexander Kabaev 607c7ca977eSAlexander Kabaev * internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H 608c7ca977eSAlexander Kabaev as well. 609c7ca977eSAlexander Kabaev 610c7ca977eSAlexander Kabaev2004-10-27 Zack Weinberg <[email protected]> 611c7ca977eSAlexander Kabaev 612c7ca977eSAlexander Kabaev PR 18075 613c7ca977eSAlexander Kabaev * directives.c (do_pragma): Do not defer pragmas which are unknown. 614c7ca977eSAlexander Kabaev (cpp_handle_deferred_pragma): Add cast to silence warning. 615c7ca977eSAlexander Kabaev 616c7ca977eSAlexander Kabaev2004-10-14 Joseph S. Myers <[email protected]> 617c7ca977eSAlexander Kabaev 618c7ca977eSAlexander Kabaev * errors.c (_cpp_begin_message): Print "error: " for errors. 619c7ca977eSAlexander Kabaev 620c7ca977eSAlexander Kabaev2004-10-10 Andreas Jaeger <[email protected]> 621c7ca977eSAlexander Kabaev 622c7ca977eSAlexander Kabaev * makedepend.c: Include mkdeps.h for prototype of deps_add_vpath. 623c7ca977eSAlexander Kabaev * Makefile.in (makedepend.o): Add dependency on mkdeps.h. 624c7ca977eSAlexander Kabaev 625c7ca977eSAlexander Kabaev2004-10-08 Andrew Pinski <[email protected]> 626c7ca977eSAlexander Kabaev 627c7ca977eSAlexander Kabaev * pch.c (cpp_write_pch_state): Remove variable z as it is not 628c7ca977eSAlexander Kabaev used. 629c7ca977eSAlexander Kabaev (cpp_read_state): Remove unused variables, m, d and mac_count. 630c7ca977eSAlexander Kabaev 631c7ca977eSAlexander Kabaev2004-09-29 Per Bothner <[email protected]> 632c7ca977eSAlexander Kabaev 633c7ca977eSAlexander Kabaev * directives.c (cpp_handle_deferred_pragma): Save, clear and restore 634c7ca977eSAlexander Kabaev cb.line_change. Otherwise do_pragma will call the line_change 635c7ca977eSAlexander Kabaev call-back with a meaningless line number. 636c7ca977eSAlexander Kabaev 637c7ca977eSAlexander Kabaev2004-09-24 Zack Weinberg <[email protected]> 638c7ca977eSAlexander Kabaev 639c7ca977eSAlexander Kabaev * configure.ac: Move AC_PROG_MAKE_SET, AC_PROG_INSTALL to 640c7ca977eSAlexander Kabaev programs cluster. Use ACX_PROG_CC_WARNING_OPTS, 641c7ca977eSAlexander Kabaev ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_PROG_CC_WARNINGS_ARE_ERRORS. 642c7ca977eSAlexander Kabaev * aclocal.m4, configure: Regenerate. 643c7ca977eSAlexander Kabaev * init.c: Include localedir.h. 644c7ca977eSAlexander Kabaev * Makefile.in (WARN_CFLAGS, ALL_CFLAGS): New variables. 645c7ca977eSAlexander Kabaev (DEFS): Delete. 646c7ca977eSAlexander Kabaev (.c.o): Use $(ALL_CFLAGS). 647c7ca977eSAlexander Kabaev (localedir.h, localedir.hs): New rules. 648c7ca977eSAlexander Kabaev (clean): Use rm -rf to remove directories. 649c7ca977eSAlexander Kabaev (distclean): Also delete localedir.h and localedir.hs. 650c7ca977eSAlexander Kabaev (init.o): Update dependencies. 651c7ca977eSAlexander Kabaev 652c7ca977eSAlexander Kabaev2004-09-22 Kelley Cook <[email protected]> 653c7ca977eSAlexander Kabaev 654c7ca977eSAlexander Kabaev * Makefile.in (aclocal.m4): Update dependencies. 655c7ca977eSAlexander Kabaev * configure.ac (AC_CONFIG_MACRO_DIR): New. 656c7ca977eSAlexander Kabaev * aclocal.m4, configure: Regenerate. 657c7ca977eSAlexander Kabaev 658c7ca977eSAlexander Kabaev2004-09-17 Zack Weinberg <[email protected]> 659c7ca977eSAlexander Kabaev 660c7ca977eSAlexander Kabaev * charset.c (_cpp_destroy_iconv, emit_numeric_escape) 661c7ca977eSAlexander Kabaev (_cpp_convert_input, _cpp_default_encoding): Add comments. 662c7ca977eSAlexander Kabaev Some other comments in this file also tweaked. 663c7ca977eSAlexander Kabaev 664c7ca977eSAlexander Kabaev * directives.c (do_pragma): Save current buffer position 665c7ca977eSAlexander Kabaev before lexing the pragma keywords; don't call 666c7ca977eSAlexander Kabaev _cpp_backup_tokens in the defer_pragmas case. 667c7ca977eSAlexander Kabaev 668c7ca977eSAlexander Kabaev2004-09-15 Per Bothner <[email protected]> 669c7ca977eSAlexander Kabaev 670c7ca977eSAlexander Kabaev * include/line-map.h (line_map_start): Add parameter names so 671c7ca977eSAlexander Kabaev preceding comment makes sense. 672c7ca977eSAlexander Kabaev (linemap_add): Remove from comment mention of non-existing parameter. 673c7ca977eSAlexander Kabaev 674c7ca977eSAlexander Kabaev2004-09-09 Matt Austern <[email protected]> 675c7ca977eSAlexander Kabaev Zack Weinberg <[email protected]> 676c7ca977eSAlexander Kabaev 677c7ca977eSAlexander Kabaev * include/cpplib.h (TTYPE_TABLE): Remove CPP_ and SPELL_ 678c7ca977eSAlexander Kabaev prefixes throughout. Add entry for PRAGMA. Remove 679c7ca977eSAlexander Kabaev unnecessary "= 0" from EQ. 680c7ca977eSAlexander Kabaev (enum cpp_ttype): Adjust OP and TK definitions to restore 681c7ca977eSAlexander Kabaev prefixes, via token-paste. 682c7ca977eSAlexander Kabaev (CPP_LAST_EQ, CPP_FIRST_DIGRAPH, CPP_LAST_PUNCTUATOR, CPP_LAST_CPP_OP): 683c7ca977eSAlexander Kabaev Change from #defines to additional cpp_ttype enumerators. 684c7ca977eSAlexander Kabaev (struct cpp_options): Add defer_pragmas. 685c7ca977eSAlexander Kabaev (cpp_handle_deferred_pragma): Prototype new interface. 686c7ca977eSAlexander Kabaev 687c7ca977eSAlexander Kabaev * internal.h (struct cpp_reader): Add directive_result. 688c7ca977eSAlexander Kabaev * directives.c (struct pragma_entry): Add is_internal field; 689c7ca977eSAlexander Kabaev give boolean fields type bool. 690c7ca977eSAlexander Kabaev (start_directive): Initialize pfile->directive_result.type. 691c7ca977eSAlexander Kabaev (_cpp_do__Pragma): Likewise. 692c7ca977eSAlexander Kabaev (run_directive): Do not crash if pfile->buffer->prev is NULL. 693c7ca977eSAlexander Kabaev (insert_pragma_entry): Add 'internal' argument; set new->is_internal 694c7ca977eSAlexander Kabaev from it. 695c7ca977eSAlexander Kabaev (register_pragma): New static function, bulk of former 696c7ca977eSAlexander Kabaev cpp_register_pragma here; add 'internal' argument, pass along 697c7ca977eSAlexander Kabaev to insert_pragma_entry. 698c7ca977eSAlexander Kabaev (cpp_register_pragma): Now a wrapper around register_pragma which 699c7ca977eSAlexander Kabaev always passes false for 'internal' argument. 700c7ca977eSAlexander Kabaev (_cpp_init_internal_pragmas): Call register_pragma directly, passing 701c7ca977eSAlexander Kabaev true for 'internal'. 702c7ca977eSAlexander Kabaev (do_pragma): If CPP_OPTION (pfile, defer_pragmas) and this isn't 703c7ca977eSAlexander Kabaev an internal pragma, save text till the end of the line as a CPP_PRAGMA 704c7ca977eSAlexander Kabaev token instead of executing the pragma. 705c7ca977eSAlexander Kabaev (cpp_handle_deferred_pragma): New interface. 706c7ca977eSAlexander Kabaev * lex.c (token_spellings): Adjust OP and TK definitions to 707c7ca977eSAlexander Kabaev match changes to cpplib.h. 708c7ca977eSAlexander Kabaev (_cpp_lex_token): Check for a directive-result token and 709c7ca977eSAlexander Kabaev return it if present. 710c7ca977eSAlexander Kabaev (cpp_token_val_index): Handle CPP_PRAGMA. 711c7ca977eSAlexander Kabaev * macro.c (cpp_builtin_macro_text): Correct comment. 712c7ca977eSAlexander Kabaev (builtin_macro): Handle directive-result tokens from _cpp_do__Pragma. 713c7ca977eSAlexander Kabaev 714c7ca977eSAlexander Kabaev2004-09-06 Serge Belyshev <[email protected]> 715c7ca977eSAlexander Kabaev 716c7ca977eSAlexander Kabaev PR preprocessor/14699 717c7ca977eSAlexander Kabaev * symtab.c (ht_dump_statistics): Change type of sum_of_squares 718c7ca977eSAlexander Kabaev from size_t to double. 719c7ca977eSAlexander Kabaev 720c7ca977eSAlexander Kabaev2004-08-28 Andreas Schwab <[email protected]> 721c7ca977eSAlexander Kabaev Andreas Jaeger <[email protected]> 722c7ca977eSAlexander Kabaev 723c7ca977eSAlexander Kabaev * configure.ac: Set PACKAGE correctly. 724c7ca977eSAlexander Kabaev * configure: Regenerated. 725c7ca977eSAlexander Kabaev 726c7ca977eSAlexander Kabaev2004-08-25 Paolo Bonzini <[email protected]> 727c7ca977eSAlexander Kabaev 728c7ca977eSAlexander Kabaev * Makefile.in: Add back top_builddir. 729c7ca977eSAlexander Kabaev 730c7ca977eSAlexander Kabaev2004-08-25 Paolo Bonzini <[email protected]> 731c7ca977eSAlexander Kabaev 732c7ca977eSAlexander Kabaev * configure.ac: Replace Automake macro invocations 733c7ca977eSAlexander Kabaev with manual Autoconf checks and substitutions. 734c7ca977eSAlexander Kabaev * configure: Regenerate. 735c7ca977eSAlexander Kabaev * aclocal.m4: Regenerate. 736c7ca977eSAlexander Kabaev * config.in: Regenerate. 737c7ca977eSAlexander Kabaev * Makefile.am: Removed. 738c7ca977eSAlexander Kabaev * Makefile.in: Heavy simplification and reorganization. 739c7ca977eSAlexander Kabaev 740c7ca977eSAlexander Kabaev2004-08-09 Mark Mitchell <[email protected]> 741c7ca977eSAlexander Kabaev 742c7ca977eSAlexander Kabaev * configure.ac (arm*-*-eabi*): New target. 743c7ca977eSAlexander Kabaev (arm*-*-symbianelf*): Likewise. 744c7ca977eSAlexander Kabaev * configure: Regenerated. 745c7ca977eSAlexander Kabaev 746c7ca977eSAlexander Kabaev2004-07-24 Bernardo Innocenti <[email protected]> 747c7ca977eSAlexander Kabaev 748c7ca977eSAlexander Kabaev * internal.h (xnew, xcnew, xnewvec, xcnewvec, xobnew): Remove. 749c7ca977eSAlexander Kabaev * directives.c: Use XNEW-family macros from libiberty. 750c7ca977eSAlexander Kabaev * lex.c: Likewise. 751c7ca977eSAlexander Kabaev * macro.c: Likewise. 752c7ca977eSAlexander Kabaev * cpplib.h (cpp_deps_style): Export enum with name. 753c7ca977eSAlexander Kabaev 754c7ca977eSAlexander Kabaev2004-07-23 Matthias Klose <[email protected]> 755c7ca977eSAlexander Kabaev 756c7ca977eSAlexander Kabaev * init.c (init_library): Use PACKAGE for the text domain. 757c7ca977eSAlexander Kabaev 758c7ca977eSAlexander Kabaev2004-07-16 Andris Pavenis <[email protected]> 759c7ca977eSAlexander Kabaev 760c7ca977eSAlexander Kabaev PR preprocessor/16366 761c7ca977eSAlexander Kabaev * internal.h (struct cpp_reader): New field dir_hash. 762c7ca977eSAlexander Kabaev * files.c (make_cpp_dir): Use dir_hash, not file_hash. 763c7ca977eSAlexander Kabaev (_cpp_init_files, _cpp_cleanup_files): Update for new field. 764c7ca977eSAlexander Kabaev 765c7ca977eSAlexander Kabaev2004-07-04 Neil Booth <[email protected]> 766c7ca977eSAlexander Kabaev 767c7ca977eSAlexander Kabaev PR preprocessor/16192 768c7ca977eSAlexander Kabaev PR preprocessor/15913 769c7ca977eSAlexander Kabaev PR preprocessor/15572 770c7ca977eSAlexander Kabaev * expr.c (_cpp_parse_expr): Handle remaining cases where an 771c7ca977eSAlexander Kabaev expression is missing. 772c7ca977eSAlexander Kabaev * init.c (post_options): Traditional cpp doesn't do // comments. 773c7ca977eSAlexander Kabaev 774c7ca977eSAlexander Kabaev2004-06-30 Per Bothner <[email protected]> 775c7ca977eSAlexander Kabaev 776c7ca977eSAlexander Kabaev * include/line-map.h (fileline): Remove old typedef. 777c7ca977eSAlexander Kabaev * internal.h (struct cpp_reader): Use source_location typedef instead. 778c7ca977eSAlexander Kabaev 779c7ca977eSAlexander Kabaev2004-06-26 Zack Weinberg <[email protected]> 780c7ca977eSAlexander Kabaev 781c7ca977eSAlexander Kabaev Partially revert patch of 2004-06-05. 782c7ca977eSAlexander Kabaev * files.c (search_cache): Remove pfile argument. Don't check 783c7ca977eSAlexander Kabaev for file that would be found by "" or <> search here... 784c7ca977eSAlexander Kabaev (_cpp_find_file): ...do it here, before calling find_file_in_dir. 785c7ca977eSAlexander Kabaev Do not apply directory-of-current-file correction to files 786c7ca977eSAlexander Kabaev found by this check. Rearrange code slightly. 787c7ca977eSAlexander Kabaev 788c7ca977eSAlexander Kabaev2004-06-21 Geoffrey Keating <[email protected]> 789c7ca977eSAlexander Kabaev 790c7ca977eSAlexander Kabaev * files.c (should_stack_file): Correct swapped parameters to call 791c7ca977eSAlexander Kabaev to cb.read_pch. 792c7ca977eSAlexander Kabaev * pch.c (cpp_valid_state): Handle -fpreprocessed. 793c7ca977eSAlexander Kabaev 794c7ca977eSAlexander Kabaev2004-06-15 Paolo Bonzini <[email protected]> 795c7ca977eSAlexander Kabaev 796c7ca977eSAlexander Kabaev * Makefile.in: Regenerate with automake 1.8.5. 797c7ca977eSAlexander Kabaev * aclocal.m4: Likewise. 798c7ca977eSAlexander Kabaev * configure: Regenerate. 799c7ca977eSAlexander Kabaev 800c7ca977eSAlexander Kabaev2004-06-11 Zack Weinberg <[email protected]> 801c7ca977eSAlexander Kabaev 802c7ca977eSAlexander Kabaev * configure.ac: Don't invoke ACX_HEADER_STDBOOL. 803c7ca977eSAlexander Kabaev * configure, config.in: Regenerate. 804c7ca977eSAlexander Kabaev * system.h: Unconditionally define bool as unsigned char, 805c7ca977eSAlexander Kabaev BOOL_BITFIELD as unsigned int. 806c7ca977eSAlexander Kabaev * .cvsignore: New file. 807c7ca977eSAlexander Kabaev 808c7ca977eSAlexander Kabaev2004-06-09 Geoffrey Keating <[email protected]> 809c7ca977eSAlexander Kabaev 810c7ca977eSAlexander Kabaev * traditional.c (push_replacement_text): Set macro->traditional. 811c7ca977eSAlexander Kabaev (save_replacement_text): Likewise. 812c7ca977eSAlexander Kabaev * pch.c (cpp_write_pch_state): Don't write list of defined macros. 813c7ca977eSAlexander Kabaev (struct save_macro_item): Delete. 814c7ca977eSAlexander Kabaev (struct save_macro_data): Use a character array not the previous 815c7ca977eSAlexander Kabaev structured format. 816c7ca977eSAlexander Kabaev (save_macros): Save macro as text not as internal structures. 817c7ca977eSAlexander Kabaev (cpp_prepare_state): Update for changes to save_macro_data. 818c7ca977eSAlexander Kabaev (cpp_read_state): Don't read macros defined in PCH. Restore 819c7ca977eSAlexander Kabaev -D macros as text. 820c7ca977eSAlexander Kabaev * macro.c (create_iso_definition): Honour alloc_subobject. 821c7ca977eSAlexander Kabaev Clear traditional flag. 822c7ca977eSAlexander Kabaev (_cpp_create_definition): Honour alloc_subobject. 823c7ca977eSAlexander Kabaev * lex.c (cpp_token_val_index): New. 824c7ca977eSAlexander Kabaev * internal.h: Include cpp-id-data.h. 825c7ca977eSAlexander Kabaev (uchar): Move definition to cpp-id-data.h. 826c7ca977eSAlexander Kabaev (U): Likewise. 827c7ca977eSAlexander Kabaev (cpp_macro): Likewise. 828c7ca977eSAlexander Kabaev * directives.c (struct answer): Move to cpp-id-data.h. 829c7ca977eSAlexander Kabaev (do_assert): Honour alloc_subobject. 830c7ca977eSAlexander Kabaev 831c7ca977eSAlexander Kabaev * include/symtab.h (struct ht): Add field 'alloc_subobject'. 832c7ca977eSAlexander Kabaev * include/cpplib.h (struct cpp_string): Add GTY marker. 833c7ca977eSAlexander Kabaev (enum cpp_token_fld_kind): New. 834c7ca977eSAlexander Kabaev (struct cpp_token): Add GTY markers. 835c7ca977eSAlexander Kabaev (cpp_token_val_index): Prototype. 836c7ca977eSAlexander Kabaev (CPP_HASHNODE_VALUE_IDX): New. 837c7ca977eSAlexander Kabaev (struct cpp_hashnode): Don't skip fields of 'value' when marking. 838c7ca977eSAlexander Kabaev * include/cpp-id-data.h: New file. 839c7ca977eSAlexander Kabaev 840c7ca977eSAlexander Kabaev2004-06-09 Paolo Bonzini <[email protected]> 841c7ca977eSAlexander Kabaev 842c7ca977eSAlexander Kabaev * Makefile.am (all-local): New. 843c7ca977eSAlexander Kabaev * Makefile.in: Regenerate. 844c7ca977eSAlexander Kabaev 845c7ca977eSAlexander Kabaev2004-06-06 Roger Sayle <[email protected]> 846c7ca977eSAlexander Kabaev 847c7ca977eSAlexander Kabaev * Makefile.am (LIBICONV): Declare. 848c7ca977eSAlexander Kabaev (makedepend_LDADD): Use LIBICONV. 849c7ca977eSAlexander Kabaev * Makefile.in: Regenerate. 850c7ca977eSAlexander Kabaev 851c7ca977eSAlexander Kabaev2004-06-05 Andrew Pinski <[email protected]> 852c7ca977eSAlexander Kabaev 853c7ca977eSAlexander Kabaev * Makefile.am (LIBINTL): Declare 854c7ca977eSAlexander Kabaev (makedepend_LDADD): Use LIBINTL. 855c7ca977eSAlexander Kabaev * Makefile.in: Regenerate. 856c7ca977eSAlexander Kabaev 857c7ca977eSAlexander Kabaev2004-06-05 Zack Weinberg <[email protected]> 858c7ca977eSAlexander Kabaev 859c7ca977eSAlexander Kabaev * Makefile.am: Add makedepend. 860c7ca977eSAlexander Kabaev * Makefile.in, aclocal.m4: Regenerate. 861c7ca977eSAlexander Kabaev * charset.c: Insert a space to avoid a warning. 862c7ca977eSAlexander Kabaev * directives.c: Include mkdeps.h. 863c7ca977eSAlexander Kabaev (_cpp_handle_directive): Reenable macro expander if appropriate. 864c7ca977eSAlexander Kabaev (undefine_macros): Inline body of _cpp_free_definition for speed. 865c7ca977eSAlexander Kabaev Do not call undef callback or _cpp_warn_if_unused_macro. 866c7ca977eSAlexander Kabaev (cpp_get_deps): New interface. 867c7ca977eSAlexander Kabaev * files.c (search_cache): Add pfile argument. Check for file 868c7ca977eSAlexander Kabaev that would be found by "" or <> search here... 869c7ca977eSAlexander Kabaev (_cpp_find_file): ...not here. Correct recorded start_dir of 870c7ca977eSAlexander Kabaev files found by directory-of-current-file search that would be 871c7ca977eSAlexander Kabaev found by "" or <> search. 872c7ca977eSAlexander Kabaev * init.c (cpp_add_dependency_target): Delete. 873c7ca977eSAlexander Kabaev * internal.h (struct lexer_state): Add discarding_output flag. 874c7ca977eSAlexander Kabaev * lex.c (lex_identifier): Compute hash function while scanning. 875c7ca977eSAlexander Kabaev * macro.c (cpp_scan_nooutput): Disable macro expansion outside 876c7ca977eSAlexander Kabaev directives. 877c7ca977eSAlexander Kabaev * makedepend.c: New file. 878c7ca977eSAlexander Kabaev * mkdeps.c (struct deps): Add vpath vector. 879c7ca977eSAlexander Kabaev (apply_vpath, deps_add_vpath): New function. 880c7ca977eSAlexander Kabaev (deps_free): Free vpath vector. 881c7ca977eSAlexander Kabaev (deps_add_dep, deps_add_target): Use apply_vpath. 882c7ca977eSAlexander Kabaev * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH. 883c7ca977eSAlexander Kabaev (ht_lookup_with_hash): New function. 884c7ca977eSAlexander Kabaev * cpplib.h, mkdeps.h: Update prototypes. 885c7ca977eSAlexander Kabaev * symtab.h: Update prototypes. 886c7ca977eSAlexander Kabaev (HT_HASHSTEP, HT_FINISH): New macros. 887c7ca977eSAlexander Kabaev 888c7ca977eSAlexander Kabaev2004-05-29 Geoffrey Keating <[email protected]> 889c7ca977eSAlexander Kabaev 890c7ca977eSAlexander Kabaev * symtab.c (ht_create): Set entries_owned. 891c7ca977eSAlexander Kabaev (ht_destroy): Honour entries_owned. 892c7ca977eSAlexander Kabaev (ht_expand): Likewise. 893c7ca977eSAlexander Kabaev (ht_load): New. 894c7ca977eSAlexander Kabaev * include/symtab.h (struct ht): New field 'entries_owned' 895c7ca977eSAlexander Kabaev (ht_load): New prototype. 896c7ca977eSAlexander Kabaev 897c7ca977eSAlexander Kabaev2004-05-26 Paolo Bonzini <[email protected]> 898c7ca977eSAlexander Kabaev 899c7ca977eSAlexander Kabaev PR bootstrap/15651 900c7ca977eSAlexander Kabaev * configure.ac: Fix m4 quoting when picking 901c7ca977eSAlexander Kabaev the size of HOST_WIDE_INT. 902c7ca977eSAlexander Kabaev * configure: Regenerate. 903c7ca977eSAlexander Kabaev 904c7ca977eSAlexander Kabaev2004-05-25 Paolo Bonzini <[email protected]> 905c7ca977eSAlexander Kabaev 906c7ca977eSAlexander Kabaev * Makefile.am: the correct directory for 907c7ca977eSAlexander Kabaev gettext include files is given by @INCINTL@. 908c7ca977eSAlexander Kabaev * Makefile.in: Regenerate. 909c7ca977eSAlexander Kabaev 910c7ca977eSAlexander Kabaev2004-05-24 Paolo Bonzini <[email protected]> 911c7ca977eSAlexander Kabaev 912c7ca977eSAlexander Kabaev * system.h [!ENABLE_NLS]: dgettext takes two 913c7ca977eSAlexander Kabaev parameters. 914c7ca977eSAlexander Kabaev 915c7ca977eSAlexander Kabaev2004-05-23 Paolo Bonzini <[email protected]> 916c7ca977eSAlexander Kabaev 917c7ca977eSAlexander Kabaev Moved libcpp from the gcc subdirectory to the toplevel. 918c7ca977eSAlexander Kabaev * Makefile.am: New file. 919c7ca977eSAlexander Kabaev * Makefile.in: Regenerate. 920c7ca977eSAlexander Kabaev * configure.ac: New file. 921c7ca977eSAlexander Kabaev * configure: Regenerate. 922c7ca977eSAlexander Kabaev * config.in: Regenerate. 923c7ca977eSAlexander Kabaev * charset.c: Moved from gcc/cppcharset.c. Add note about 924c7ca977eSAlexander Kabaev brokenness of input charset detection. Adjust for change 925c7ca977eSAlexander Kabaev in name of cppucnid.h. 926c7ca977eSAlexander Kabaev * errors.c: Moved from gcc/cpperror.c. Do not include intl.h. 927c7ca977eSAlexander Kabaev * expr.c: Moved from gcc/cppexp.c. 928c7ca977eSAlexander Kabaev * files.c: Moved from gcc/cppfiles.c. Do not include intl.h. 929c7ca977eSAlexander Kabaev Remove #define of O_BINARY, it is in system.h. 930c7ca977eSAlexander Kabaev * identifiers.c: Moved from gcc/cpphash.c. 931c7ca977eSAlexander Kabaev * internal.h: Moved from gcc/cpphash.h. Change header 932c7ca977eSAlexander Kabaev guard name. All other files adjusted to match name change. 933c7ca977eSAlexander Kabaev * init.c: Moved from gcc/cppinit.c. 934c7ca977eSAlexander Kabaev (init_library) [ENABLE_NLS]: Call bindtextdomain. 935c7ca977eSAlexander Kabaev * lex.c: Moved from gcc/cpplex.c. 936c7ca977eSAlexander Kabaev * directives.c: Moved from gcc/cpplib.c. 937c7ca977eSAlexander Kabaev * macro.c: Moved from gcc/cppmacro.c. 938c7ca977eSAlexander Kabaev * pch.c: Moved from gcc/cpppch.c. Do not include intl.h. 939c7ca977eSAlexander Kabaev * traditional.c: Moved from gcc/cpptrad.c. 940c7ca977eSAlexander Kabaev * ucnid.h: Moved from gcc/cppucnid.h. Change header 941c7ca977eSAlexander Kabaev guard name. 942c7ca977eSAlexander Kabaev * ucnid.pl: Moved from gcc/cppucnid.pl. 943c7ca977eSAlexander Kabaev * ucnid.tab: Moved from gcc/cppucnid.tab. Change header 944c7ca977eSAlexander Kabaev guard name. 945c7ca977eSAlexander Kabaev * symtab.c: Moved from gcc/hashtable.c. 946c7ca977eSAlexander Kabaev * line-map.c: Moved from gcc. Do not include intl.h. 947c7ca977eSAlexander Kabaev * mkdeps.c: Moved from gcc. 948c7ca977eSAlexander Kabaev * system.h: New file. 949c7ca977eSAlexander Kabaev * include/cpplib.h: Moved from gcc. Change header guard name. 950c7ca977eSAlexander Kabaev * include/line-map.h: Moved from gcc. Change header guard name. 951c7ca977eSAlexander Kabaev * include/mkdeps.h: Moved from gcc. Change header guard name. 952c7ca977eSAlexander Kabaev * include/symtab.h: Moved from gcc/hashtable.h. Change header 953c7ca977eSAlexander Kabaev guard name. 954