• gdr's avatar
    2000-06-06 Gabriel Dos Reis <gdr@codesourcery.com> · 990339dd
    gdr authored
            * diagnostic.c (output_maximum_width): Remove.
            (doing_line_wrapping): Tweak.
            (diagnostic_buffer): New object.
            (global_output_buffer): New object.
            (output_destroy_prefix): New function.
            (default_initialize_buffer): Likewise.
            (reshape_diagnostic_buffer): Likewise.
            (initialize_diagnostics): Likewise.
            (output_clear): Tweak.
            (line_wrapper_printf): Adjust call to init_output_buffer.
            (vline_wrapper_message_with_location): Likewise.  Use
            output_destroy_prefix.
            (v_message_with_decl): Likewise.
    
            * diagnostic.h (struct output_buffer): Constify prefix.
            (init_output_buffer, output_get_prefix): Constify.
            (diagnostic_message_length_per_line): Likewise.
            (reshape_diagnostic_buffer): Declare.
            (default_initialize_buffer): Declare.
            (initialize_diagnostics): Declare.
            (diagnostic_buffer): Declare new obbject.
    
            * toplev.c: #include diagnostic.h
            (display_help): Document diagnostic formatting options.
            (decode_f_option): Handle diagnostic formatting options.
            (main): Setup initialization for diagnostic messages outputter.
    
            * toplev.h (set_message_length): Remove.
    
            * Makefile.in (toplev.o): Depends upon diagnostic.h
    
            * invoke.texi : Document diagnostics formatting options.
    
    cp/
    2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>
    
            * lex.c (lang_init_options): Tweak.
    
            * decl2.c: Remove #inclusion of diagnostic.h
            (lang_decode_option): Move diagnostic formatting options to
            toplevel.
    
            * lang-options.h: Remove documentation for diagnostic options.
    
            * Makefile.in (lex.o): Depends upon diagnostic.h
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34435 138bc75d-0d04-0410-961f-82ee72b054a4
    990339dd
lang-options.h 6.15 KB