diff options
Diffstat (limited to 'gcc/selftest-diagnostic.cc')
-rw-r--r-- | gcc/selftest-diagnostic.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/selftest-diagnostic.cc b/gcc/selftest-diagnostic.cc index 6d1bd1b..d632c51 100644 --- a/gcc/selftest-diagnostic.cc +++ b/gcc/selftest-diagnostic.cc @@ -36,12 +36,12 @@ namespace selftest { test_diagnostic_context::test_diagnostic_context () { diagnostic_initialize (this, 0); - show_caret = true; - show_labels_p = true; + m_source_printing.enabled = true; + m_source_printing.show_labels_p = true; show_column = true; - start_span = start_span_cb; - min_margin_width = 6; - caret_max_width = 80; + m_text_callbacks.start_span = start_span_cb; + m_source_printing.min_margin_width = 6; + m_source_printing.max_width = 80; } test_diagnostic_context::~test_diagnostic_context () |