sclang: catch too few arguments in switch statement. This fixes #1056.