From: fred Date: Sun, 24 Mar 2002 19:27:05 +0000 (+0000) Subject: lilypond-0.0.21 X-Git-Tag: release/1.5.59~5658 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a208c0129b1609f67b4c7acbccc96a95d5cb66bb;p=lilypond.git lilypond-0.0.21 --- diff --git a/src/identifier.cc b/src/identifier.cc index 6241768694..d55c3fc4e4 100644 --- a/src/identifier.cc +++ b/src/identifier.cc @@ -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); }