changeset 15705:a3189d329906

Update error_ids.m and add it to the build system. * error_ids.m: Update docstring. * scripts/miscellaneous/module.mk: Add error_ids.m to list of miscellaneous functions.
author Rik <rik@octave.org>
date Fri, 30 Nov 2012 08:44:13 -0800
parents c2b381deca6b
children 242e9efd4315
files scripts/miscellaneous/error_ids.m scripts/miscellaneous/module.mk
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/miscellaneous/error_ids.m	Fri Nov 30 08:05:35 2012 -0800
+++ b/scripts/miscellaneous/error_ids.m	Fri Nov 30 08:44:13 2012 -0800
@@ -21,20 +21,20 @@
 ##
 ## @table @code
 ## @item Octave:invalid-context
-## Idicates the error was generated by an operation that cannot be executed in
-## the scope of the call that rose the error. For example, the function
-## @code{print_usage()} when called from ## the Octave prompt rises this error.
+## Indicates the error was generated by an operation that cannot be executed in
+## the scope from which it was called.  For example, the function
+## @code{print_usage ()} when called from the Octave prompt raises this error.
 ##
 ## @item Octave:invalid-input-arg
 ## Indicates that a function was called with invalid input arguments.
 ##
 ## @item Octave:invalid-fun-call
-## Indicates that a function was called in an incorrect way, e.g. wrong number
+## Indicates that a function was called in an incorrect way, e.g., wrong number
 ## of input arguments.
 ##
 ## @item Octave:invalid-indexing
-## Indicates that a data-type was indexed incorrectly, e.g. real-value index for
-## arrays, inexistent field of a structure
+## Indicates that a data-type was indexed incorrectly, e.g., real-value index
+## for arrays, non-existent field of a structure.
 ##
 ## @end table
 
@@ -43,5 +43,6 @@
   help ("error_ids");
 endfunction
 
+
 ## Remove from test statistics.  No real tests possible
 %!assert (1)
--- a/scripts/miscellaneous/module.mk	Fri Nov 30 08:05:35 2012 -0800
+++ b/scripts/miscellaneous/module.mk	Fri Nov 30 08:44:13 2012 -0800
@@ -20,6 +20,7 @@
   miscellaneous/dos.m \
   miscellaneous/dump_prefs.m \
   miscellaneous/edit.m \
+  miscellaneous/error_ids.m \
 	miscellaneous/fact.m \
   miscellaneous/fileattrib.m \
   miscellaneous/fileparts.m \