Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert AST_DOT with AST_RANGE to AST_PREFIX #258

Merged
merged 2 commits into from
Mar 1, 2022

Conversation

RRozak
Copy link
Member

@RRozak RRozak commented Mar 1, 2022

Signed-off-by: Ryszard Różak <rrozak@antmicro.com>
@RRozak RRozak requested a review from kamilrakoczy March 1, 2022 11:48
Comment on lines 844 to 845
if (current_node->type == static_cast<int>(AST::AST_DOT))
current_node->type = AST::AST_IDENTIFIER;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we need to do this? Is this because you later simplify dot to get constant?

If it is the case, please remove this and create temporary AST_IDENTIFIER and simplify it instead.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Signed-off-by: Ryszard Różak <rrozak@antmicro.com>
@RRozak RRozak requested a review from kamilrakoczy March 1, 2022 11:58
@RRozak RRozak merged commit 525c6af into chipsalliance:master Mar 1, 2022
@umarcor umarcor deleted the fix_dot_handling branch March 28, 2022 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants