[FEATURE] Redundant code in array_initializer (array_parser.py)
frankhart2018 opened this issue · comments
Siddhartha Dhar Choudhury commented
Describe the solution you'd like
The array initializer list parsing can be done using expression function but has been implemented again which is redundant. Update array_initializer in array_parser.py to use expression() from sim_parser.py to parse expression instead of repeating the same logic.
Aryaman Kolhe commented
Hi there! @frankhart2018
Can I work on this?
Siddhartha Dhar Choudhury commented
Sure @Chasmiccoder. Assigning this to you.
Mathias Fernandes Duarte Coelho commented
@Chasmiccoder I don't know if it is important, but i_temp
we use name idx
on others files.
Siddhartha Dhar Choudhury commented
Merged.