Mercurial > octave-antonio
diff libinterp/corefcn/error.cc @ 20101:e51473fdb622
doc: Periodic grammarcheck of documentation.
* func.txi, io.txi, error.cc, file-io.cc, regexp.cc, utils.cc, variables.cc,
dlmwrite.m, strread.m, textread.m, textscan.m: Use @xbackslashchar to produce
a backslash and resolve differences between Info viewer and pdf view.
* warning_ids.m: Use @option around command line options.
* qmr.m: Use @nospell macro for names in citation.
* genpropdoc.m: Eliminate trailing space to closing '}'.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 19 Apr 2015 17:55:33 -0700 |
parents | dbf2418a46dd |
children | a42de4173533 |
line wrap: on
line diff
--- a/libinterp/corefcn/error.cc Sun Apr 19 18:41:08 2015 -0400 +++ b/libinterp/corefcn/error.cc Sun Apr 19 17:55:33 2015 -0700 @@ -1093,11 +1093,12 @@ which will only stop execution if an error has been found.\n\ \n\ Implementation Note: For compatibility with @sc{matlab}, escape\n\ -sequences in @var{template} (e.g., \"\\n\" => newline) are processed\n\ -regardless of whether @var{template} has been defined with single quotes,\n\ -as long as there are two or more input arguments. To disable escape sequence\n\ -expansion use a second backslash before the sequence (e.g., \"\\\\n\") or\n\ -use the @code{regexptranslate} function.\n\ +sequences in @var{template} (e.g., @qcode{\"@xbackslashchar{}n\"} =>\n\ +newline) are processed regardless of whether @var{template} has been defined\n\ +with single quotes, as long as there are two or more input arguments. To\n\ +disable escape sequence expansion use a second backslash before the sequence\n\ +(e.g., \"@xbackslashchar{}@xbackslashchar{}n\") or use the\n\ +@code{regexptranslate} function.\n\ @seealso{warning, lasterror}\n\ @end deftypefn") { @@ -1392,11 +1393,12 @@ workspace.\n\ \n\ Implementation Note: For compatibility with @sc{matlab}, escape\n\ -sequences in @var{template} (e.g., \"\\n\" => newline) are processed\n\ -regardless of whether @var{template} has been defined with single quotes,\n\ -as long as there are two or more input arguments. To disable escape sequence\n\ -expansion use a second backslash before the sequence (e.g., \"\\\\n\") or\n\ -use the @code{regexptranslate} function.\n\ +sequences in @var{template} (e.g., @qcode{\"@xbackslashchar{}n\"} =>\n\ +newline) are processed regardless of whether @var{template} has been defined\n\ +with single quotes, as long as there are two or more input arguments. To\n\ +disable escape sequence expansion use a second backslash before the sequence\n\ +(e.g., \"@xbackslashchar{}@xbackslashchar{}n\") or use the\n\ +@code{regexptranslate} function.\n\ @seealso{warning_ids, lastwarn, error}\n\ @end deftypefn") {