fix indentation

llvm
Clyne 2 years ago
parent 59ecb61463
commit 92680120c6
Signed by: clyne
GPG Key ID: 4C835D6F5F30690A

@ -199,7 +199,7 @@ int CoreWords::op_comment(State& state) {
int CoreWords::op_colon(State& state) {
state.pass = Pass::Colon;
state.pushr(state.dict.here); // this is for EXIT
state.pushr(state.dict.here);
return 0;
}

@ -72,11 +72,10 @@ struct Dictionary
const auto l = read(lt);
const auto len = l & 0x1F;
if (issame(lt + 1, str, len)) {
if (issame(lt + 1, str, len))
return lt;
} else {
else
lt -= l >> 6;
}
} while (lt);
return 0;

@ -21,8 +21,6 @@
#include "corewords.hpp"
//#include <iostream>
class Executor
{
public:
@ -32,7 +30,6 @@ public:
do {
++state.ip;
//std::cout << "-- " << state.rsize() << "e " << state.ip << std::endl;
CoreWords::run(state.dict.read(state.ip), state);
} while (state.ip);

@ -63,6 +63,7 @@ public:
CoreWords::run(i, state);
} else if (auto j = state.dict.find(sub); j > 0) {
auto e = state.dict.getexec(j);
if (state.compiling) {
if (state.dict.read(j) & CoreWords::Immediate) {
state.compiling = false;

Loading…
Cancel
Save