]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/init.ly
* lily/my-lily-lexer.cc (start_main_input): define input-file-name
[lilypond.git] / ly / init.ly
index bc66f5aaaf55960c7838828aba8d26f13f4ddd6e..ce58a26a4d3e301541b9653e60094a98921cd2c3 100644 (file)
@@ -16,4 +16,6 @@
 
 #(if (and (ly:get-option 'old-relative)
       (not (ly:get-option 'old-relative-used)))
-  (ly:warn "Old relative compatibility was not used."))
+  (ly:warn (string-append
+           "\n"
+           input-file-name ": old relative compatibility was not used.")))