Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the `pyccel_staging` property of `PyccelAstNode` objects to facilitate the creation of partially syntactic object (e.g. when unravelling an assignment where the `rhs` has been visited and the `lhs` is an inhomogeneous tuple). This is done by exiting `SemanticParser._visit` immediately if the object passed to the function is already a semantic object. As the property is now always used it is obvious when it has not been correctly set. These cases are therefore fixed. --------- Co-authored-by: Yaman Güçlü <yaman.guclu@gmail.com>
- Loading branch information
1 parent
046e93f
commit 2728d40
Showing
2 changed files
with
50 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters