Open DamianX opened 6 years ago
Actually, it seems to not like multiple vars declared like that in general, even without the brackets. https://github.com/vgstation-coders/vgstation13/blob/42f7caab216e5140b502b1f46283a8a5ff08c774/code/modules/flufftext/TextFilters.dm#L79-L81
var/list
words = splittext(original_msg," ")
new_words = list()
code/modules/flufftext/TextFilters.dm, line 79, column 11:
error: got '{', expected one of: '/', '[', '=', as, 'in', ',', ';'
Hmm, I thought I had implemented this, but I guess not. It should only take one fix to handle both braces and indentation; indentation is converted to braces at an earlier stage in the parse.
https://github.com/vgstation-coders/vgstation13/blob/42f7caab216e5140b502b1f46283a8a5ff08c774/code/__HELPERS/unsorted.dm#L1332