Am Freitag, 26. Februar 2010 20:52:51 schrieben Sie:
> Op vrijdag 26-02-2010 om 20:39 uur [tijdzone +0100], schreef Reinhold
>
> Kainhofer:
> > Am Freitag, 26. Februar 2010 20:16:11 schrieb Han-Wen Nienhuys:
> >
> > There are some incompatible changes
>
> Yes, quite a few of them. So if you're interested look at the
> solutions for those made in GUB.
Hmm, I don't see how I could easily write code (or different included files
like in your gub case) to support exceptions stored in a variable:
try:
do_one_file (f)
except UnknownVersion:
error (_ ("%s: Unable to determine version. Skipping") % f)
except InvalidVersion, ex:
error (_ ("%s: Invalid version string `%s' \n"
"Valid version strings consist of three numbers, "
"separated by dots, e.g. `2.8.12'") % (f, ex.version) )
Except of course moving that part of the convert-ly code out to two separate
files (which include some new include files containing the functions they
call) for 2.x and 3.0... Of course, I might be missing the obvious, though.
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, [email protected], http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user