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

Implement iter for FuncDeclExt #46

Merged
merged 1 commit into from
Aug 28, 2019
Merged

Implement iter for FuncDeclExt #46

merged 1 commit into from
Aug 28, 2019

Conversation

julianneswinoga
Copy link
Contributor

Fixes #45, it was actually a pretty easy fix.

@@ -169,6 +169,12 @@ def children(self):
nodelist.append(("asm", self.asm))
return tuple(nodelist)

def __iter__(self):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I only put in args and type because that's what normal functions are, but if you think that attributes and/or asm should be in here I can add those too

@inducer
Copy link
Owner

inducer commented Aug 28, 2019

Thanks! Transplanted for CI: https://gitlab.tiker.net/inducer/pycparserext/merge_requests/5

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.

Cannot traverse nodes using NodeVisitor, FuncDeclExt is not iterable
2 participants