Skip to content

Comments

Updated appendToTag function#10

Open
gcallanan wants to merge 1 commit intomasterfrom
appendToTag_fix
Open

Updated appendToTag function#10
gcallanan wants to merge 1 commit intomasterfrom
appendToTag_fix

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