/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1997--2012 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
void
Input::programming_error (string s) const
{
- if (get_program_option ("warning-as-error"))
- ::error (message_string (s), message_location ());
- else
- ::programming_error (message_string (s), message_location ());
+ ::programming_error (message_string (s), message_location ());
}
void
void
Input::warning (string s) const
{
- if (get_program_option ("warning-as-error"))
- ::non_fatal_error (message_string (s), message_location ());
- else
- ::warning (message_string (s), message_location ());
+ ::warning (message_string (s), message_location ());
}
void