]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/includable-lexer.cc
(setup_paths): Add more debugging verbosity.
[lilypond.git] / lily / includable-lexer.cc
index 540f8de8f418c2fa1ebdd8a75aa4d275592c67ba..df0851b148cbf9d1d4c51d4118d2037757655b81 100644 (file)
@@ -3,12 +3,13 @@
 
   source file of the LilyPond music typesetter
 
-  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "includable-lexer.hh"
 
 #include <sstream>
+using namespace std;
 
 #include "config.hh"
 #include "file-path.hh"
@@ -133,9 +134,7 @@ Includable_lexer::here_str0 () const
 Includable_lexer::~Includable_lexer ()
 {
   while (!include_stack_.is_empty ())
-    {
-      close_input ();
-    }
+    close_input ();
 }
 
 Source_file *
@@ -143,6 +142,5 @@ Includable_lexer::get_source_file () const
 {
   if (include_stack_.is_empty ())
     return 0;
-  else
-    return include_stack_.top ();
+  return include_stack_.top ();
 }