Hi,
I intent to write a preprocessor for lilypond scores. Is there a way to
insert something similar to C preprocessor "#line" controls to have
lilypond point-and-click and error messages refer to the original source
instead of the generated source file?
For example, I have a source "score.ly" that gets preprocessed into
"tmpXYZ.ly". The latter file is fed to lilypond, and would contain
hypothetical line controls like:
#line 64 "score.ly"
highVoice = \relative c' {
#line 247 "score.ly"
c1 | d1 | e1 | f2 g |
#line 212 "score.ly"
a1 | b1 | c1 | d2 e |
#line 109 "score.ly"
b1 | c1 | d1 | e2 g |
#line 311 "score.ly"
}
-- Johan
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user