From e90ce66d89055aeefcea47634f6b1543f09e121a Mon Sep 17 00:00:00 2001 From: gambas Date: Thu, 25 Feb 2021 23:01:04 +0100 Subject: [PATCH] Allow ON ... GOTO / GOSUB to span on multiple lines. [COMPILER] * NEW: Allow ON ... GOTO / GOSUB to span on multiple lines. --- main/gbc/gbc_trans_ctrl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/gbc/gbc_trans_ctrl.c b/main/gbc/gbc_trans_ctrl.c index 36d103d72..f4bcaca0c 100644 --- a/main/gbc/gbc_trans_ctrl.c +++ b/main/gbc/gbc_trans_ctrl.c @@ -698,6 +698,8 @@ void TRANS_on_goto_gosub(void) if (n == 127) THROW("Too many labels"); + + TRANS_newline(); } pos = CODE_set_current_pos(pos);