Skip to content
Snippets Groups Projects
Commit a8255f28 authored by Xun Yang's avatar Xun Yang
Browse files

init forInit as local var

parent 81991677
No related branches found
No related tags found
2 merge requests!30New new string,!20Master
......@@ -364,4 +364,7 @@ def getVarDclNodes(node):
if s.__class__.__name__ == 'BlockNode':
result += getVarDclNodes(node)
if s.__class__.__name__ == 'ForNode' and s.forInit:
result += [s.forInit]
return result
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment