]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/includable-lexer.cc
* scripts/lilypond-invoke-editor.scm (dissect-uri): Handle URIs
[lilypond.git] / lily / includable-lexer.cc
index 540f8de8f418c2fa1ebdd8a75aa4d275592c67ba..7cde6bfc3724ac7b063ce50251175835ca091ace 100644 (file)
@@ -133,9 +133,7 @@ Includable_lexer::here_str0 () const
 Includable_lexer::~Includable_lexer ()
 {
   while (!include_stack_.is_empty ())
-    {
-      close_input ();
-    }
+    close_input ();
 }
 
 Source_file *
@@ -143,6 +141,5 @@ Includable_lexer::get_source_file () const
 {
   if (include_stack_.is_empty ())
     return 0;
-  else
-    return include_stack_.top ();
+  return include_stack_.top ();
 }