\include "english.ly" \include "defs.ly" \include "global.ly"
\include "bassoon1_sc.ly" % accidental self-reference! [...]
I was rather confused when I put this in lilypond, and ended up waiting longer than 2 seconds for parsing to finish. Much longer. As in, it wouldn't stop. I realised eventually that I had an include file point to itself.
Also surprising is that lilypond didn't catch this. It's quite easier to fix than solving an NP-complete problem, of course -- i.e., write a program to evaluate whether input code goes into an infinite loop. Couldn't lilypond flip through during parsing checking for problem \includes?
Best,
focus on the wherefore
for in it lies the question
----------------------------------------------------------
_ | WILL ORAM
ASCII ribbon campaign ( ) | spamguy (at) foxchange . com
- against HTML email X | wro1 (at) cwru . edu
& vCards / \ |
| AIM spamguy21
----------------------------------------------------------
(ABOVE: Magnetic poetry #4)_______________________________________________ bug-lilypond mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-lilypond
