From 92680120c6e3902644171c37eb7b271cf2d82250 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 9 Feb 2023 14:12:26 -0500 Subject: fix indentation --- executor.hpp | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'executor.hpp') diff --git a/executor.hpp b/executor.hpp index 485e82a..62afe5f 100644 --- a/executor.hpp +++ b/executor.hpp @@ -21,22 +21,19 @@ #include "corewords.hpp" -//#include - class Executor { public: static int fullexec(State& state, Addr addr) { state.pushr(0); - state.ip = addr - 1; - - do { - ++state.ip; - //std::cout << "-- " << state.rsize() << "e " << state.ip << std::endl; - CoreWords::run(state.dict.read(state.ip), state); - } while (state.ip); - - return 0; + state.ip = addr - 1; + + do { + ++state.ip; + CoreWords::run(state.dict.read(state.ip), state); + } while (state.ip); + + return 0; } }; -- cgit v1.2.3