Function always reference itself

Damien Tournoud - April 27, 2008 - 15:35
Project:API
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

The parser fails to remove the hit to the function definition while grep-ing through the function body.
As a result, the function always shows up in the "Functions that call xx" list, even if there is no recursive calls (for example: http://api.drupal.org/api/function/system_perm/6/references).

Some code was there to prevent that, but it's currently broken.

Here is a patch that fixes the issue.

AttachmentSize
api-reference-itself.patch1.14 KB

#1

drumm - June 24, 2008 - 06:49
Status:needs review» fixed

Committedto HEAD.

#2

Anonymous (not verified) - July 8, 2008 - 06:53
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.