• neil's avatar
    * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS. · b3954366
    neil authored
    	(_cpp_trigraph_map): Declaration moved from cpplex.c
    
    	* cppinit.c: Define _cpp_trigraph_map.  Use UCHAR_MAX + 1
    	instead	of 256.  Use consistent test for designated initializers.
    	(cpp_init): Initialize trigraph_map.
    	(initialize_standard_includes, parse_option):  Use memcmp
    	instead of strncmp.
    
    	* cpplex.c (init_trigraph_map): Remove.
    	(trigraph_ok, trigraph_replace, lex_line): Refer to
    	_cpp_trigraph_map.
    
    	* cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
    	(do_unassert): Remove unused "next" local.
    
    	* system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35789 138bc75d-0d04-0410-961f-82ee72b054a4
    b3954366
cpplib.c 39.6 KB