Fix incorrectly generated break statement outside switch
This fixes https://gitlab.science.ru.nl/clean-and-itasks/iTasks-SDK/issues/273.
The code generator keeps track of whether it is in a pattern-matching switch. If so, a pattern matching failure is generated as break
; otherwise as a throw
. The two fixed lines were places where the internal state was incorrectly updated as if a switch was generated.
Edited by Ghost User