Commit Graph

7 Commits

Author SHA1 Message Date
Kaveh Ghazi
9311a396bc Update copyrights
From-SVN: r31465
2000-01-17 17:16:21 +00:00
Kaveh R. Ghazi
1353681247 machmode.h: PROTO -> PARAMS.
* machmode.h: PROTO -> PARAMS.
        * mbchar.h: Likewise.
        * mips-tdump.c: Likewise.
        * mips-tfile.c: Likewise.
        * optabs.c: Likewise.
        * output.h: Likewise.
        * prefix.c: Likewise.
        * profile.c: Likewise.
        * protoize.c: Likewise.
        * real.h: Likewise.
        * recog.c: Likewise.
        * recog.h: Likewise.
        * regclass.c: Likewise.
        * regmove.c: Likewise.
        * regs.h: Likewise.

From-SVN: r31459
2000-01-17 15:37:04 +00:00
Kaveh R. Ghazi
5da1ecf26e mbchar.c (literal_codeset, [...]): Constify a char*.
* mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
	a char*.
	(local_mbtowc): Change the type of variable `i' from int to size_t.

	* mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
	(local_mbtowc, local_mblen, literal_codeset): Constify a char*.

From-SVN: r29827
1999-10-05 16:21:34 +00:00
Jeffrey A Law
1f4915dcb3 * mbchar.h: Add missing #endif.
From-SVN: r29788
1999-10-03 14:16:30 -06:00
Jeff Law
c5c7673583 Merge in gcc2-ss-010999
From-SVN: r29150
1999-09-06 23:49:18 -06:00
Jeff Law
4283012f9f Copyright fixes.
From-SVN: r24535
1999-01-06 13:44:41 -07:00
Dave Brolley
56f48ce976 configure.in (enable_c_mbchar): New configure option.
Mon Jul 20 16:16:38 1998  Dave Brolley  <brolley@cygnus.com>
	* configure.in (enable_c_mbchar): New configure option.
	(extra_cpp_objs): Always available now.
	* cexp.y (mbchar.h): #include it.
	(yylex): Handle Multibyte characters in character literals.
	* cccp.c (mbchar.h): #include it.
	(main): Set character set based on LANG environment variable.
	(rescan): Handle multibyte characters in comments.
	(skip_if_group): See above.
	(validate_else): See above.
	(skip_to_end_of_comment): See above.
	(macarg1): See above.
	(discard_comments): See above.
	(rescan): Handle multibyte characters in string and character literals.
	(collect_expansion): See above.
	(skip_quoted_string): See above.
	(macroexpand): See above.
	(macarg1): See above.
	(discard_comments): See above.
	(change_newlines): See above.
	* c-lex.c (mbchar.h): #include it.
	(GET_ENVIRONMENT): New macro.
	(init_lex): Set character set based on LANG environment variable.
	(yylex): Handle multibyte characters in character literals.
	(yylex): Handle multibyte characters in string literals.
	* Makefile.in (mbchar.o): New target.
	(cccp$(exeext)): @extra_cpp_objs@ is always available.
	(cppmain$(exeext)): @extra_cpp_objs@ is always available.
	* mbchar.[ch]: New files for multibyte character handling.

From-SVN: r21303
1998-07-20 09:35:38 -04:00