]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/input.cc
Grand fixcc.py run on all .hh .cc files.
[lilypond.git] / lily / input.cc
index 0ada41847db6529d82527ea7f264781749f5b7c0..6cc8a182a540bdc29ecfe96d763af0dcf70f42b3 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -83,23 +83,22 @@ Input::message (string s) const
 {
   if (source_file_)
     s = location_string () + ": " + s + "\n"
-      + source_file_->quote_input (start_) + "\n";
+        + source_file_->quote_input (start_) + "\n";
   ::message (s);
 }
 
-
 void
 Input::programming_error (string s) const
 {
   if (get_program_option ("warning-as-error"))
     ::error (s);
-  else {
-    message (_f ("programming error: %s", s.c_str ()));
-    message (_ ("continuing, cross fingers") + "\n");
-  }
+  else
+    {
+      message (_f ("programming error: %s", s.c_str ()));
+      message (_ ("continuing, cross fingers") + "\n");
+    }
 }
 
-
 void
 Input::warning (string s) const
 {