X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fprogram-option-scheme.cc;h=a7de8218634ccd8419106b3761efbff26b635cf2;hb=b38543766c067e06f65df471b30893dd4a486248;hp=bfa5d09934abed2ba5b1df685f6282909a2a99c3;hpb=3d8089a42af6304edb8dad56220e845c84832bb2;p=lilypond.git diff --git a/lily/program-option-scheme.cc b/lily/program-option-scheme.cc index bfa5d09934..a7de821863 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--2009 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); }