differentmatt / filbert

JavaScript parser of Python
Other
133 stars 27 forks source link

Multiline arrays fail to parse #54

Closed nwinter closed 8 years ago

nwinter commented 9 years ago
friends = [
    'Joan',
    'Ronan',
    'Nikita',
    'Augustus'
]

leads to a Filbert parser TypeError in the demo page and dies on CodeCombat, too. Putting everything on one line works:

friends = ['Joan', 'Ronan', 'Nikita', 'Augustus']
differentmatt commented 9 years ago

The fix for this is probably similar to #39

Xavion3 commented 8 years ago

This is fixed by #75