jonnyboyC / kos-language-server

A language server for the Kerboscript (kOS) a language for Kerbal Space Program
MIT License
25 stars 6 forks source link

[BUG] Return in triggers #68

Closed jonnyboyC closed 5 years ago

jonnyboyC commented 5 years ago

Describe the bug The language server currently doesn't correctly follow correctly logic for returns inside of triggers. Triggers are allowed return even outside of a function scope as a way of indicating that the trigger should remain alive or not. similar to the preserve keyword.

jonnyboyC commented 5 years ago

Fixed issue related to triggers