Index: includes/coder_comment.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/coder/includes/coder_comment.inc,v retrieving revision 1.1.4.7 diff -u -p -r1.1.4.7 coder_comment.inc --- includes/coder_comment.inc 1 Mar 2008 14:54:43 -0000 1.1.4.7 +++ includes/coder_comment.inc 6 May 2008 12:54:12 -0000 @@ -53,8 +53,8 @@ function coder_comment_reviews() { '#type' => 'regex', '#source' => 'comment', '#value' => '\@see\s*.*', - '#not' => '^\@see\s*[a-zA-Z_\.\-]+\(\)', - '#warning' => '@see should always be followed by a function name with ()', + '#not' => '^\@see\s*[a-zA-Z_\.\-]+(\(\)|\.php|\.inc)', + '#warning' => '@see should always be followed by a filename or a function name with ()', '#severity' => 'minor', ), array( Index: tests/coder_comment.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/coder/tests/coder_comment.inc,v retrieving revision 1.1.4.4 diff -u -p -r1.1.4.4 coder_comment.inc --- tests/coder_comment.inc 28 Feb 2008 11:52:07 -0000 1.1.4.4 +++ tests/coder_comment.inc 6 May 2008 12:54:12 -0000 @@ -18,10 +18,14 @@ /* * @see some_function() + * @see some_file.tpl.php + * @see some_file.inc * @see some_function(), some-template.tpl.php * @see some_function(), some-template.tpl.php, ok.tpl.php * * sdfsf @see not ok + * @see some_file.foo + * @see some_file * @see some_function, some-template.tpl.php, not_ok.tpl.php * @see some_function() some-template.tpl.php, not_ok.tpl.php * @see some_function(), some-template.tpl.php not_ok.tpl.php