]> git.donarmstrong.com Git - lilypond.git/commit
LSR: escape double backslashes.
authorGraham Percival <graham@percival-music.ca>
Sun, 19 Sep 2010 15:37:17 +0000 (16:37 +0100)
committerGraham Percival <graham@percival-music.ca>
Sun, 19 Sep 2010 16:05:04 +0000 (17:05 +0100)
commitf8fd9c211e9ab17859841aa9ec98af731ab253c3
tree889a2eb86a5c80b168a7ff2a2f4b1cd1e8c3eeb5
parent64e20e277b363c54afe92322f51a328bfb78caae
LSR: escape double backslashes.

4+4+10 backslashes on one line to do this?!  How the bloody mao
can people (including myself) still refer to python as a "highly
readable language" ?

Also, I'm appalled at the state of makelsr.py.  A few years ago it
was a nice and simple script; now it's a confusing mess of regex,
some stuff in functions, some stuff in global, etc.  It took me
over an hour to add the "escape double backslahes" to this script.

Granted, I'm an idiot without previous experience with regex...
but hey, I'm the only person to work on this bug in the over 3
years.  I think our python+build scripts need to be written with
idiots in mind, because smart people are too busy doing other
stuff.
scripts/auxiliar/makelsr.py