Lua generation operator bug

When generating code from this

return - -1

The generator is currently producing

return --1

So a space needs to be added when appending a - if there is already a - before. The same rule should be applied with an opening bracket:

someTable[ [[foo]] ]

The generator is currently producing

someTable[[[foo]]]