X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fincludable-lexer.cc;h=df0851b148cbf9d1d4c51d4118d2037757655b81;hb=ab685a4504e0aef61caf91085e900e05b6aa0194;hp=540f8de8f418c2fa1ebdd8a75aa4d275592c67ba;hpb=57be7394ffa2e7d7ba6d60548dba563f3409d472;p=lilypond.git diff --git a/lily/includable-lexer.cc b/lily/includable-lexer.cc index 540f8de8f4..df0851b148 100644 --- a/lily/includable-lexer.cc +++ b/lily/includable-lexer.cc @@ -3,12 +3,13 @@ source file of the LilyPond music typesetter - (c) 1997--2005 Han-Wen Nienhuys + (c) 1997--2005 Han-Wen Nienhuys */ #include "includable-lexer.hh" #include +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 (); }