"Print @var{msg} as a GNU compliant error message, pointing to the"
"location in @var{sip}.\n")
{
- Input *ip = unsmob_input(sip);
+ Input *ip = unsmob_input (sip);
SCM_ASSERT_TYPE (ip, sip, SCM_ARG1, __FUNCTION__, "input location");
- SCM_ASSERT_TYPE (gh_string_p (msg), msg, SCM_ARG2, __FUNCTION__, "string");
+ SCM_ASSERT_TYPE (ly_c_string_p (msg), msg, SCM_ARG2, __FUNCTION__, "string");
String m = ly_scm2string (msg);
ip->message (m);
return SCM_UNDEFINED;
}
+/*
+ TODO: rename this function. ly:input-location? vs ly:input-location
+ */
LY_DEFINE (ly_input_location, "ly:input-location", 1, 0, 0, (SCM sip),
"Return input location in @var{sip} as (filename line column).")
{