adapap / OWScript

Python-like scripting language which transpiles into Overwatch Workshop script rulesets.
MIT License
37 stars 2 forks source link

Allow for array creation to have multiple lines #30

Closed netux closed 5 years ago

netux commented 5 years ago

With this, any of the following ways to create an array is valid and generate the same output.

gvar test_variable = [
    1,
    2
]

gvar test_variable = [1,
2]

gvar test_variable = [1,2]

gvar test_variable = [ 1,2 ]

gvar test_variable = [ 1, 2 ]