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 |
Jump to:
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.
| Attachment | Size |
|---|---|
| api-reference-itself.patch | 1.14 KB |

#1
Committedto HEAD.
#2
Automatically closed -- issue fixed for two weeks with no activity.