# HG changeset patch # User Rik # Date 1292651512 28800 # Node ID 2750b04a1b5c9bdf27cb23b9fe50dbe9dc022984 # Parent fba7b5538b181dbc03c30ec94a382a6a12fa4a08 Update script to generate undocumented function list. diff --git a/doc/ChangeLog b/doc/ChangeLog --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2010-12-17 Rik + + * interpreter/doccheck/mk_undocumented_list: Update script to + automatically remove functions from the "test/" and "doc/interpreter" + directories. + 2010-12-17 Rik * interpreter/Makefile.am: Add undocumented_list target to create list diff --git a/doc/interpreter/doccheck/mk_undocumented_list b/doc/interpreter/doccheck/mk_undocumented_list --- a/doc/interpreter/doccheck/mk_undocumented_list +++ b/doc/interpreter/doccheck/mk_undocumented_list @@ -24,10 +24,13 @@ push(@where, $1) if (/] = (\S*)$/); } -# Remove deprecated functions from the list of features requiring a DOCSTRING +# Remove functions based on directory location +# deprecated directory, doc/interpreter directory, test/ directory FUNC: foreach $idx (0 .. $#where) { next FUNC if ($where[$idx] =~ /deprecated/i); + next FUNC if ($where[$idx] =~ /interpreter/i); + next FUNC if ($where[$idx] =~ m#test/#i); push (@functions, $all_functions[$idx]); } @@ -39,7 +42,7 @@ # Exception data is stored at the bottom of this script map { chomp, $exceptions{$_}=1; } ; -# Remove exception data from the list of features requiring a DOCSTRING +# Remove exception data from the list @functions = grep (! $exceptions{$_}, @functions); ################################################################################ @@ -74,7 +77,6 @@ besseli besselk bessely -build_bc_overloads_expected chdir comma debug @@ -86,10 +88,8 @@ F_SETFD F_SETFL gammaln -geometryimages i inf -interpimages inverse j J @@ -106,40 +106,10 @@ O_TRUNC O_WRONLY paren -plotimages SEEK_CUR SEEK_END semicolon setenv -sparseimages -tbcover -test_args -test_bc_overloads -test_classes -test_contin -test_diag_perm -test_error -test_for -test_func -test_global -test_if -test_io -test_null_assign -test_parser -test_prefer -test_range -test_recursion -test_return -test_slice -test_sparse -test_string -test_struct -test_switch -test_system -test_transpose -test_try -test_unwind -test_while toc triu unimplemented