Detect circular includes #21
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, will recurse until hitting the recursion limit if there are circular includes.
This can easily be checked statically by scanning a file for includes, and recursively iterating over these includes, pushing to a stack. If the recursion hits a file that's already in the list, it can terminate with an error.