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

Updated appendToTag function #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Updated appendToTag function #10

wants to merge 1 commit into from

Conversation

gcallanan
Copy link
Collaborator

When using the foreach statement to generate actions, each actionTag now has the action number appended to the tag instead of creating a whole new tag.

For example
'''
foreach uint i in 0..1 generate
actionTag: action In[i]:[token] ==> Out[i]:[token + i] end
end
'''

Now becomes:
'''
actionTag._0: action In[0]:[token] ==> Out[0]:[token + 0] end
actionTag._1: action In[1]:[token] ==> Out[1]:[token + 1] end
'''

previously it became:
'''
actionTag_0: action In[0]:[token] ==> Out[0]:[token + 0] end // No longer works this way
actionTag_1: action In[1]:[token] ==> Out[1]:[token + 1] end // No longer works this way
'''

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.

2 participants