Commit b903d81e by Gabriel Dos Reis Committed by Gabriel Dos Reis

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

         Implement automatic line wrapping mode in the g++ front-end.

From-SVN: r31343
parent 40c79d58
2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
* toplev.h (set_message_length): Declare.
* diagnostic.c (obstack_chunk_alloc): Define macro.
(obstack_chunk_free): Likewise.
(struct output_buffer): New data structure.
(vmessage): Remove.
(output_maximum_width): New variable.
(doing_line_wrapping, set_message_length, init_output_buffer,
get_output_prefix, output_space_left, emit_output_prefix,
output_newline, output_append, output_puts, dump_output,
vbuild_message_string, build_message_string, build_location_prefix,
voutput_notice, output_printf, line_wrapper_printf,
vline_wrapper_message_with_location): New functions. Implement
automatic line wrapping.
(v_message_with_decl): Make it handle automatic line wrapping.
(v_error_with_file_and_line): Likewise.
(v_warning_with_file_and_line): Likewise.
(announce_function): Likewise.
(default_print_error_function): Likewise.
2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
* cpplib.h (struct cpp_options): Change lang_asm to char.
......
2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
* decl2.c (lang_decode_option): Handle automatic line wrapping
option.
2000-01-11 Mark Mitchell <mark@codesourcery.com>
* friend.c (do_friend): Don't resolve scopes when processing
......
......@@ -128,6 +128,7 @@ extern void fnotice PROTO ((FILE *, const char *, ...))
extern int wrapup_global_declarations PROTO ((union tree_node **, int));
extern void check_global_declarations PROTO ((union tree_node **, int));
extern void note_deferral_of_defined_inline_function PROTO ((union tree_node *));
extern void set_message_length PROTO ((int));
extern int errorcount;
extern int warningcount;
extern int sorrycount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment