]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/includable-lexer.cc
release: 1.1.62
[lilypond.git] / lily / includable-lexer.cc
index 46e2f8826b17171c6f3cb77fef8e10253d94c3e9..2adb810cd99b6eb2946fc9259598b8cdcca4c56c 100644 (file)
@@ -8,6 +8,8 @@
 
 #include <strstream.h>
 
+
+#include "file-path.hh"
 #include "includable-lexer.hh"
 #include "source-file.hh"
 #include "source.hh"
@@ -43,7 +45,9 @@ Includable_lexer::new_input (String s, Sources  * global_sources)
   if (!sl)
     {
       String msg = _f ("can't find file: `%s\'", s);
+      msg += _f ("\nSearch path is `%s'\n", global_sources->path_C_->str ().ch_C());
       LexerError (msg.ch_C ());
+
       return;
     }
   filename_str_arr_.push (sl->name_str ());