]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.21
authorfred <fred>
Sun, 24 Mar 2002 19:27:05 +0000 (19:27 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:27:05 +0000 (19:27 +0000)
src/identifier.cc

index 6241768694e77943c9e36d5c3eb630cd27037677..d55c3fc4e42da7f0611f615609334e03dca9cb8e 100644 (file)
@@ -5,8 +5,9 @@
 #include "debug.hh"
 
 void
-Identifier::error()
+Identifier::error(String expect)
 {
     String e("Wrong identifier type: ");
-    ::error(e + classname());
+    e += String(classname()) + "(expected " + expect + ")";
+    ::error(e);
 }