#include <defines.h>
Data Fields | |
statement * | stmt |
int | id |
int | type |
stmt_loop_link * | next |
Special statement link that stores the ID of the statement that the specified statement pointer needs to traverse when it has completed. These structure types are used by the statement CDD reader. When a statement is read that points to a statement that hasn't been read out of the CDD, the read statement is stored into one of these link types that is linked like a stack (pushed/popped at the head). The head of this stack is interrogated by future statements being read out. When a statement's ID matches the ID at the head of the stack, the element is popped and the two statements are linked accordingly. This sequence is used to handle statement looping.
ID of next statement after last
Referenced by statement_queue_add(), statement_queue_compare(), and statement_queue_display().
Pointer to next statement in stack
Referenced by statement_queue_add(), statement_queue_compare(), and statement_queue_display().
Pointer to last statement in loop
Referenced by statement_queue_add(), statement_queue_compare(), and statement_queue_display().
Specifies if the ID is for next_true (0), next_false (1) or head (2)
Referenced by statement_queue_add(), statement_queue_compare(), and statement_queue_display().