Joe Neeman escreveu:
> On 1/31/07, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
>>
>> + if (break_events_.size ())
>>
>> + warning (_f ("break event at moment %d/%d was overridden by some
>> other event, are you using bar checks?",
>>
>> + now_mom ().num (), now_mom ().den ()));
>>
>>
>> break_events_[0]->warning()
>>
>> will give context info.
>
> It doesn't compile -- break_events_[0] is a Stream_event* and it
> doesn't have warning. Is there another way I can get it to print the
> input line, etc?
probably something like ev->origin()->warning(..)
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel