- Input *ip = unsmob_input (sip);
- SCM_ASSERT_TYPE (ip, sip, SCM_ARG1, __FUNCTION__, "input location");
- SCM_ASSERT_TYPE (ly_c_string_p (msg), msg, SCM_ARG2, __FUNCTION__, "string");
-
- String m = ly_scm2string (msg);
- ip->message (m);
-
- return SCM_UNSPECIFIED;
+ string str = "#<location " + location_string () + ">";
+ scm_puts (str.c_str (), port);
+ return 1;