From: Han-Wen Nienhuys <hanwen@xs4all.nl>
Date: Thu, 1 Aug 2002 17:32:44 +0000 (+0000)
Subject: (protected_ly_parse_scm): guile 1.4 compatibility.
X-Git-Tag: release/1.5.72~55
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f1f9f52d4edd0c3b95ecfec134457350898688b3;p=lilypond.git

(protected_ly_parse_scm): guile 1.4 compatibility.
---

diff --git a/ChangeLog b/ChangeLog
index 22422265c6..180864cf93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-01  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+
+	* lily/parse-scm.cc (protected_ly_parse_scm): guile 1.4 compatibility.
+
 2002-08-01 Rune Zedeler <rune@zedeler.dk>
 
 	* lily/tab-note-heads-engraver.cc: add algorithm for automatically
diff --git a/lily/parse-scm.cc b/lily/parse-scm.cc
index 8badd2cb01..5c4e7ff422 100644
--- a/lily/parse-scm.cc
+++ b/lily/parse-scm.cc
@@ -98,7 +98,7 @@ parse_handler (void * data, SCM tag, SCM args)
 SCM
 protected_ly_parse_scm (Parse_start *ps)
 {
-  return scm_internal_catch (scm_misc_error_key, &catch_protected_parse_body,
+  return scm_internal_catch (ly_symbol2scm ("misc-error"), &catch_protected_parse_body,
 			     (void*)ps,
 			     &parse_handler, (void*)ps);