From 90f203bff189706c2dec34482475b89d0a232597 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 19 Nov 2012 22:12:16 +0100 Subject: make goto tables local to macro invocation: they are declared on the C++ callstack since macro invocations result in nested macro_execute() calls otherwise a macro could set labels with program counters which are invalid in other macros/the command line --- cmdline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdline.cpp') diff --git a/cmdline.cpp b/cmdline.cpp index 8fc9dc6..9f500a3 100644 --- a/cmdline.cpp +++ b/cmdline.cpp @@ -136,7 +136,7 @@ process_edit_cmd(gchar key) interface.ssm(SCI_EMPTYUNDOBUFFER); undo.clear(); - goto_table_clear(); + goto_table->clear(); *cmdline = '\0'; macro_pc = 0; -- cgit v1.2.3