X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fprogram-option-scheme.cc;h=63266566aca22d3ab9a0a221bcdba4e9405ff579;hb=217d48d7cdefb8ad026c7ade58d1f03f17cbb47a;hp=bfa5d09934abed2ba5b1df685f6282909a2a99c3;hpb=26cfe4999bdd1999a623efe3363bf93dda87123e;p=lilypond.git diff --git a/lily/program-option-scheme.cc b/lily/program-option-scheme.cc index bfa5d09934..63266566ac 100644 --- a/lily/program-option-scheme.cc +++ b/lily/program-option-scheme.cc @@ -1,9 +1,20 @@ /* - program-option-scheme.cc -- implement option setting from Scheme + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2001--2011 Han-Wen Nienhuys - (c) 2001--2009 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include "program-option.hh" @@ -23,6 +34,7 @@ bool debug_skylines; bool debug_property_callbacks; bool debug_page_breaking_scoring; +bool music_strings_to_paths; bool relative_includes; /* @@ -115,6 +127,11 @@ internal_set_option (SCM var, } else if (var == ly_symbol2scm ("warning-as-error")) val = scm_from_bool (to_boolean (val)); + else if (var == ly_symbol2scm ("music-strings-to-paths")) + { + music_strings_to_paths = to_boolean (val); + val = scm_from_bool (to_boolean (val)); + } scm_hashq_set_x (option_hash, var, val); }