diff options
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r-- | src/compiler/ast-tree.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h index cc66ede..19ff9e9 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -224,8 +224,11 @@ AstTree *makeTypeOf(AstTree *value); bool typeIsEqual(const AstTree *type0, const AstTree *type1); AstTree *getValue(AstTree *tree, AstTreeSetTypesHelper helper); -bool isCircularDependencies(AstTreeHelper *helper, AstTreeVariable *variable, - AstTree *tree); +bool isCircularDependencies(AstTreeHelper *helper, AstTreeVariable *variable); +bool isCircularDependenciesBack(AstTreeHelper *helper, AstTreeVariable *variable, + AstTree *tree,AstTreeVariables *checkedVariables); +bool isCircularDependenciesVariable(AstTreeHelper *helper, AstTreeVariable *toBeFound, + AstTreeVariable *currentVariable,AstTreeVariables *checkedVariables); bool setAllTypesRoot(AstTreeRoot *root, AstTreeHelper *helper); bool setAllTypes(AstTree *tree, AstTreeSetTypesHelper helper, |