1. 02 Mar, 2001 5 commits
    • safe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pcc compatibility. · 9bb9ef28
      	* safe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pcc
      	compatibility.
      
      From-SVN: r40175
      John David Anglin committed
    • cpplib.c (_cpp_init_stacks): Cast enum for comparison. · 37b8524c
      	* cpplib.c (_cpp_init_stacks): Cast enum for comparison.
      	* cppexp.c (lex): Cast enums for comparison.
      	* cppinit.c (parse_option): Cast enum for comparison.
      	* cpplex.c (cpp_spell_token): Cast enums to int for minus.
      	(cpp_output_token): Likewise.
      	(cpp_can_paste): Cast enums for comparsion and plus/minus.
      	(cpp_avoid_paste): Cast enums for minus and comparison.
      
      From-SVN: r40174
      John David Anglin committed
    • gcc.c, [...]: Add zero initializer for cpp_spec field to all array elements. · f7143427
      	* gcc.c, cp/lang-specs.h, f/lang-specs.h, java/lang-specs.h,
      	objc/lang-specs.h: Add zero initializer for cpp_spec field to
      	all array elements.
      	* cp/lang-specs.h: Don't put an #ifdef inside the initializer
      	list; set a default for CPLUSPLUS_CPP_SPEC and use it.
      
      From-SVN: r40173
      Zack Weinberg committed
    • cpphash.h (struct cpp_reader): Add print_version field. · cb773845
      	* cpphash.h (struct cpp_reader): Add print_version field.
      	* cppinit.c (cpp_handle_option): For -v, -version, and --version,
      	just set print_version and other flags as appropriate.
      	(cpp_post_options): Print version here if print_version is set.
      
      	* toplev.c (exit_after_options): New flag.
      	(independent_decode_option): Don't exit here; just set
      	exit_after_options.
      	(main): Exit after calling lang_hooks.post_options if
      	exit_after_options is true.
      
      	* cppinit.c (append_include_chain): Drop never-used case QUOTE.
      	(merge_include_chains): Adjust comment to match code.
      
      From-SVN: r40171
      Zack Weinberg committed
    • stringpool.c (set_identifier): New function. · 71b7be38
      	* stringpool.c (set_identifier): New function.
      	* tree.h: Prototype it.
      
      	* c-parse.in: Kill D_YES. If compiled for objc, call
      	save_and_forget_protocol_qualifiers from init_reswords.
      	* objc/objc-act.c (remember_protocol_qualifiers,
      	forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
      	Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
      	vice versa.
      	(save_and_forget_protocol_qualifiers): New function.
      	* c-lex.h: Prototype save_and_forget_protocol_qualifiers.
      
      From-SVN: r40170
      Zack Weinberg committed
  2. 01 Mar, 2001 15 commits
  3. 28 Feb, 2001 20 commits