X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finput-scheme.cc;h=f313a3c27e023e4986cdbd4e17a4aa3bf5434893;hb=9e31bfb35d99898cb8c1dc854970644fbb613d25;hp=e3d0312642fd8488b75db27dfcfea9f467dba3f9;hpb=e9a308e9c6002900fc336733950a0175bcbcc333;p=lilypond.git diff --git a/lily/input-scheme.cc b/lily/input-scheme.cc index e3d0312642..f313a3c27e 100644 --- a/lily/input-scheme.cc +++ b/lily/input-scheme.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2005--2007 Han-Wen Nienhuys + (c) 2005--2009 Han-Wen Nienhuys */ #include "std-string.hh" @@ -19,13 +19,14 @@ LY_DEFINE (ly_input_location_p, "ly:input-location?", 1, 0, 0, } LY_DEFINE (ly_input_message, "ly:input-message", 2, 0, 1, (SCM sip, SCM msg, SCM rest), - "Print @var{msg} as a GNU compliant error message, pointing to the " - "location in @var{sip}. @var{msg} is interpreted similar to @code{format}'s argument\n") + "Print @var{msg} as a GNU compliant error message, pointing" + " to the location in @var{sip}. @var{msg} is interpreted" + " similar to @code{format}'s argument, using @var{rest}.") { Input *ip = unsmob_input (sip); LY_ASSERT_TYPE (unsmob_input, sip, 1); - LY_ASSERT_TYPE(scm_is_string, msg,2); + LY_ASSERT_TYPE (scm_is_string, msg,2); msg = scm_simple_format (SCM_BOOL_F, msg, rest); @@ -39,7 +40,8 @@ LY_DEFINE (ly_input_message, "ly:input-message", 2, 0, 1, (SCM sip, SCM msg, SCM LY_DEFINE (ly_input_file_line_char_column, "ly:input-file-line-char-column", 1, 0, 0, (SCM sip), - "Return input location in @var{sip} as (file-name line char column).") + "Return input location in @var{sip} as" + " @code{(file-name line char column)}.") { LY_ASSERT_TYPE (unsmob_input, sip, 1); Input *ip = unsmob_input (sip); @@ -57,8 +59,8 @@ LY_DEFINE (ly_input_file_line_char_column, LY_DEFINE (ly_input_both_locations, "ly:input-both-locations", 1, 0, 0, (SCM sip), - "Return input location in @var{sip} as " - "(file-name first-line first-column last-line last-column).") + "Return input location in @var{sip} as" + " @code{(file-name first-line first-column last-line last-column)}.") { LY_ASSERT_TYPE (unsmob_input, sip, 1);