diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-02-17 20:38:26 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-02-17 20:38:26 +0000 |
commit | 277576eefcc91cb00fad847f48b153a234227b8a (patch) | |
tree | 89b9cc440cd490bb5f9896bd04fd3c82e0ac3be2 /gcc/cp | |
parent | 44399cac47cffe3ed9612c23e67a3ea53039a8ac (diff) | |
download | gcc-277576eefcc91cb00fad847f48b153a234227b8a.zip gcc-277576eefcc91cb00fad847f48b153a234227b8a.tar.gz gcc-277576eefcc91cb00fad847f48b153a234227b8a.tar.bz2 |
invoke.texi (-fmessage-length=n): Document.
* invoke.texi (-fmessage-length=n): Document.
* decl2.c (lang_decode_option): Don't set default message length
here.
* lex.c (lang_init_options): Set it here.
From-SVN: r32040
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cp/decl2.c | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 537630f..c4869a1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2000-02-17 Mark Mitchell <mark@codesourcery.com> + + * decl2.c (lang_decode_option): Don't set default message length + here. + * lex.c (lang_init_options): Set it here. + 2000-02-16 Mark Mitchell <mark@codesourcery.com> Make DECL_CONTEXT mean the class in which a member function was diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 245ec1f..ff973e8 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -570,9 +570,6 @@ 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') @@ -636,9 +633,9 @@ lang_decode_option (argc, argv) name_mangling_version = read_integral_parameter (p + 22, p - 2, name_mangling_version); else if (!strncmp (p, "message-length=", 15)) - set_message_length - (read_integral_parameter (p + 15, p -2, - /* default line-wrap length */ 72)); + set_message_length + (read_integral_parameter (p + 15, p - 2, + /* default line-wrap length */ 72)); else if (!strncmp (p, "dump-translation-unit-", 22)) { if (p[22] == '\0') |