diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-19 22:30:17 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-20 06:07:33 +0100 |
commit | 6bf314fa5193872e26e3eaabe222ee1e2a823c08 (patch) | |
tree | 11791308915b3d2e42ed9db81ff28fd3ed441eee /qbuffers.cpp | |
parent | 90f203bff189706c2dec34482475b89d0a232597 (diff) | |
download | sciteco-6bf314fa5193872e26e3eaabe222ee1e2a823c08.tar.gz |
goto table cleanup
Diffstat (limited to 'qbuffers.cpp')
-rw-r--r-- | qbuffers.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 |