decl2.c (lang_decode_option): Enable automatic line wrapping.

2000-01-16  Gabriel Dos Reis  <gdr@codesourcery.com>

        * decl2.c (lang_decode_option): Enable automatic line wrapping.

From-SVN: r31999
This commit is contained in:
Gabriel Dos Reis 2000-02-16 01:38:11 +00:00 committed by Gabriel Dos Reis
parent 22d05f6030
commit 7e05b7aec4
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-01-16 Gabriel Dos Reis <gdr@codesourcery.com>
* decl2.c (lang_decode_option): Enable automatic line wrapping.
2000-02-13 Jason Merrill <jason@casey.cygnus.com>
* parse.y (frob_specs): Split out...

View File

@ -570,6 +570,9 @@ lang_decode_option (argc, argv)
strings_processed = 0;
#endif /* ! USE_CPPLIB */
/* Enable automatic line wrapping by default */
set_message_length (72);
if (!strcmp (p, "-ftraditional") || !strcmp (p, "-traditional"))
/* ignore */;
else if (p[0] == '-' && p[1] == 'f')