2006-10-03 Han-Wen Nienhuys <hanwen@lilypond.org>
+ * lily/include/lily-guile-macros.hh: add assert to
+ scm_or_str2symbol(SCM).
+
* VERSION (PATCH_LEVEL): bump version.
* lily/spacing-spanner.cc (musical_column_spacing): handle
scm_or_str2symbol (char const *c) { return scm_str2symbol (c); }
inline SCM
-scm_or_str2symbol (SCM s) { return s; }
+scm_or_str2symbol (SCM s) {
+ assert (scm_is_symbol (s));
+ return s;
+}
/* Using this trick we cache the value of scm_str2symbol ("fooo") where
"fooo" is a constant string. This is done at the cost of one static