Download & Extend

Function always reference itself

Project:API
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

Status:needs review» fixed

Committedto HEAD.

#2

Status:fixed» closed (fixed)

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

nobody click here