/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1997--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
{
if (source_file_)
s = location_string () + ": " + s + "\n"
- + source_file_->quote_input (start_) + "\n";
+ + source_file_->quote_input (start_) + "\n";
::message (s);
}
-
void
Input::programming_error (string s) const
{
if (get_program_option ("warning-as-error"))
::error (s);
- else {
- message (_f ("programming error: %s", s.c_str ()));
- message (_ ("continuing, cross fingers") + "\n");
- }
+ else
+ {
+ message (_f ("programming error: %s", s.c_str ()));
+ message (_ ("continuing, cross fingers") + "\n");
+ }
}
-
void
Input::warning (string s) const
{