Bug #167

endless loop in DevBrowser for cyclic pointer type

Added by J. Templ over 1 year ago. Updated over 1 year ago.

Status:ClosedStart date:07/24/2017
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7.1
Forum topic:https://forum.blackboxframework.org/viewtopic.php?f=40&t=648

Description

The following legal type definition leads to an endless loop when showing the interface of the module.

TYPE T* = POINTER TO ARRAY OF T;

Associated revisions

Revision 02f11777
Added by J. Templ over 1 year ago

endless loop in DevBrowser for cyclic pointer type. Refs: #167.
IsHook now stops iterating over BaseTyp when finding a cycle.

Signed-off-by: Josef Templ <>

Revision 287ea03f
Added by J. Templ over 1 year ago

using a counter for breaking all possible cycles reliably. Refs: #167.
Cycles such as:
TYPE S* = POINTER TO ARRAY OF S;
TYPE T* = POINTER TO ARRAY OF S;
did not work with checking only the beginning of the type struct (t0).

Signed-off-by: Josef Templ <>

History

#1 Updated by R. Campbell over 1 year ago

  • Forum topic set to https://forum.blackboxframework.org/viewtopic.php?f=40&t=648&start=10

#2 Updated by R. Campbell over 1 year ago

  • Forum topic changed from https://forum.blackboxframework.org/viewtopic.php?f=40&t=648&start=10 to https://forum.blackboxframework.org/viewtopic.php?f=40&t=648

#3 Updated by R. Campbell over 1 year ago

  • Status changed from New to Closed

Also available in: Atom PDF