From 56591b8ee161a93fc2ee2a353a7a15cae6b3ca51 Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 23 Nov 1996 11:37:42 +0000 Subject: [PATCH] lilypond-0.0.11 --- src/voice.cc | 8 ++++---- src/warn.cc | 8 +++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/voice.cc b/src/voice.cc index c713822a4b..fbdb207aab 100644 --- a/src/voice.cc +++ b/src/voice.cc @@ -15,14 +15,14 @@ Voice::Voice() void Voice::add(Voice_element*v) { + v->voice_ = this; elts.bottom().add(v); } void Voice::print() const { - #ifndef NPRINT - +#ifndef NPRINT mtor << "start: "<< start< vec(elts); vec.ok(); vec++) vec->print(); @@ -63,7 +63,7 @@ Voice_element::add(Request*r) Voice_element::Voice_element() { - voice = 0; + voice_ = 0; group = 0; duration = 0.0; } @@ -71,7 +71,7 @@ Voice_element::Voice_element() Voice_element::Voice_element(Voice_element const&src) { duration=src.duration; - voice=src.voice; + voice_=src.voice_; IPointerList__copy(Request*, reqs, src.reqs, clone()); group=src.group; assert(!granted_items.size() && !granted_spanners.size()); diff --git a/src/warn.cc b/src/warn.cc index 426173ee0c..6d35d8cad6 100644 --- a/src/warn.cc +++ b/src/warn.cc @@ -4,15 +4,17 @@ -void warning(String s) +void +warning(String s) { WARN << s; } -void error(String s) +void +error(String s) { - cerr << "\n" << s << "\nexiting..\n"; + cerr << "\nerror: " << s << "\n"; exit(1); } -- 2.39.5