From 6bf314fa5193872e26e3eaabe222ee1e2a823c08 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 19 Nov 2012 22:30:17 +0100 Subject: goto table cleanup --- qbuffers.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qbuffers.cpp') diff --git a/qbuffers.cpp b/qbuffers.cpp index 26e4599..3c11ab0 100644 --- a/qbuffers.cpp +++ b/qbuffers.cpp @@ -143,7 +143,7 @@ QRegister::undo_edit(void) void QRegister::execute(void) throw (State::Error) { - GotoTable *parent_goto_table = goto_table; + GotoTable *parent_goto_table = Goto::table; GotoTable macro_goto_table; State *parent_state = States::current; @@ -160,7 +160,7 @@ QRegister::execute(void) throw (State::Error) macro_pc = 0; str = get_string(); - goto_table = ¯o_goto_table; + Goto::table = ¯o_goto_table; try { macro_execute(str); @@ -168,14 +168,14 @@ QRegister::execute(void) throw (State::Error) g_free(str); macro_pc = parent_pc; States::current = parent_state; - goto_table = parent_goto_table; + Goto::table = parent_goto_table; throw; /* forward */ } g_free(str); macro_pc = parent_pc; States::current = parent_state; - goto_table = parent_goto_table; + Goto::table = parent_goto_table; } bool -- cgit v1.2.3