]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cpphash.h
cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
authorNeil Booth <neilb@earthling.net>
Fri, 18 Aug 2000 17:35:58 +0000 (17:35 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Fri, 18 Aug 2000 17:35:58 +0000 (17:35 +0000)
commit61d0346df824fbdb9f290a8e42c87025bfd03783
treef25ad3759703df13e0d6b40b621ea7e6d2e1dd18
parent90d14f40a9c1d85bee827d94ce8f9bab8acb192c
cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.

* cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
(_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.

From-SVN: r35789
gcc/ChangeLog
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplex.c
gcc/cpplib.c
gcc/system.h