# HG changeset patch # User Rik # Date 1354293853 28800 # Node ID a3189d32990696edd80cdab912682bff670b557a # Parent c2b381deca6b01246a73cd55ac93ad9b51961325 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. diff -r c2b381deca6b -r a3189d329906 scripts/miscellaneous/error_ids.m --- 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) diff -r c2b381deca6b -r a3189d329906 scripts/miscellaneous/module.mk --- 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 \