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

No coord for Pragma Node #107

Closed
guivigon opened this issue Dec 12, 2015 · 2 comments
Closed

No coord for Pragma Node #107

guivigon opened this issue Dec 12, 2015 · 2 comments

Comments

@guivigon
Copy link

Hi

when parsing the following code:

pragma stml loop_schedule

for(i=0;i<N;i++)
v[N] = w[N]*w[N];

Within "visit_Pragma(self, node)" function of my visitor, if I print "node.coord" it shows "None". I've checked the pycparser code and it seems is not initializing properly the node coord. I'm very new to pycparser and not confident about modifying the code. Could someone please fix this issue?

Thanks.

Best.

@eliben
Copy link
Owner

eliben commented Dec 13, 2015

@cod3monk - care to take a look?

@cod3monk
Copy link
Contributor

Will have look at it tomorrow.

@eliben eliben closed this as completed in 8a17406 Dec 15, 2015
eliben added a commit that referenced this issue Dec 15, 2015
Fix for #107 "No coord for Prgama Node"
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

No branches or pull requests

3 participants