comparison 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
comparison
equal deleted inserted replaced
20100:a8769ccb2c4e 20101:e51473fdb622
1091 \n\ 1091 \n\
1092 @noindent\n\ 1092 @noindent\n\
1093 which will only stop execution if an error has been found.\n\ 1093 which will only stop execution if an error has been found.\n\
1094 \n\ 1094 \n\
1095 Implementation Note: For compatibility with @sc{matlab}, escape\n\ 1095 Implementation Note: For compatibility with @sc{matlab}, escape\n\
1096 sequences in @var{template} (e.g., \"\\n\" => newline) are processed\n\ 1096 sequences in @var{template} (e.g., @qcode{\"@xbackslashchar{}n\"} =>\n\
1097 regardless of whether @var{template} has been defined with single quotes,\n\ 1097 newline) are processed regardless of whether @var{template} has been defined\n\
1098 as long as there are two or more input arguments. To disable escape sequence\n\ 1098 with single quotes, as long as there are two or more input arguments. To\n\
1099 expansion use a second backslash before the sequence (e.g., \"\\\\n\") or\n\ 1099 disable escape sequence expansion use a second backslash before the sequence\n\
1100 use the @code{regexptranslate} function.\n\ 1100 (e.g., \"@xbackslashchar{}@xbackslashchar{}n\") or use the\n\
1101 @code{regexptranslate} function.\n\
1101 @seealso{warning, lasterror}\n\ 1102 @seealso{warning, lasterror}\n\
1102 @end deftypefn") 1103 @end deftypefn")
1103 { 1104 {
1104 octave_value retval; 1105 octave_value retval;
1105 1106
1390 previous warning state is restored on return from the current\n\ 1391 previous warning state is restored on return from the current\n\
1391 function. The @qcode{\"local\"} option is ignored if used in the top-level\n\ 1392 function. The @qcode{\"local\"} option is ignored if used in the top-level\n\
1392 workspace.\n\ 1393 workspace.\n\
1393 \n\ 1394 \n\
1394 Implementation Note: For compatibility with @sc{matlab}, escape\n\ 1395 Implementation Note: For compatibility with @sc{matlab}, escape\n\
1395 sequences in @var{template} (e.g., \"\\n\" => newline) are processed\n\ 1396 sequences in @var{template} (e.g., @qcode{\"@xbackslashchar{}n\"} =>\n\
1396 regardless of whether @var{template} has been defined with single quotes,\n\ 1397 newline) are processed regardless of whether @var{template} has been defined\n\
1397 as long as there are two or more input arguments. To disable escape sequence\n\ 1398 with single quotes, as long as there are two or more input arguments. To\n\
1398 expansion use a second backslash before the sequence (e.g., \"\\\\n\") or\n\ 1399 disable escape sequence expansion use a second backslash before the sequence\n\
1399 use the @code{regexptranslate} function.\n\ 1400 (e.g., \"@xbackslashchar{}@xbackslashchar{}n\") or use the\n\
1401 @code{regexptranslate} function.\n\
1400 @seealso{warning_ids, lastwarn, error}\n\ 1402 @seealso{warning_ids, lastwarn, error}\n\
1401 @end deftypefn") 1403 @end deftypefn")
1402 { 1404 {
1403 octave_value retval; 1405 octave_value retval;
1404 1406