From 9462ae47838dcee066c165fd0455a1368da5c485 Mon Sep 17 00:00:00 2001 From: George Marques Date: Sat, 21 Jan 2023 13:33:05 -0300 Subject: GDScript: Remove function of `continue` for match statement The keyword is confusing and rarely is used in the intended way. It is removed now in favor of a future feature (pattern guards) to avoid breaking compatibility later. --- modules/gdscript/gdscript_codegen.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules/gdscript/gdscript_codegen.h') diff --git a/modules/gdscript/gdscript_codegen.h b/modules/gdscript/gdscript_codegen.h index e885938eba..87fc663d4c 100644 --- a/modules/gdscript/gdscript_codegen.h +++ b/modules/gdscript/gdscript_codegen.h @@ -148,12 +148,8 @@ public: virtual void start_while_condition() = 0; // Used to allow a jump to the expression evaluation. virtual void write_while(const Address &p_condition) = 0; virtual void write_endwhile() = 0; - virtual void start_match() = 0; - virtual void start_match_branch() = 0; - virtual void end_match() = 0; virtual void write_break() = 0; virtual void write_continue() = 0; - virtual void write_continue_match() = 0; virtual void write_breakpoint() = 0; virtual void write_newline(int p_line) = 0; virtual void write_return(const Address &p_return_value) = 0; -- cgit v1.2.3