work on rre error messages with s:evaluate

FossilOrigin-Name: 5e3e92ee30be95df4b479b2190fb9431d86408941f52ea3768939c8b35f4f181
This commit is contained in:
crc 2018-10-09 19:48:54 +00:00
parent 91d1d79413
commit e786158f0a

View file

@ -1201,14 +1201,18 @@ void restore_term() {
#define IO_TTY_GETC 1001
void execute(CELL cell, int silent) {
CELL a, b;
CELL a, b, token;
CELL opcode;
rp = 1;
ip = cell;
token = TIB;
while (ip < IMAGE_SIZE) {
if (ip == NotFound) {
printf("\nERROR: Word Not Found: ");
printf("%s\n\n", string_extract(TIB));
printf("`%s`\n\n", string_extract(token));
}
if (ip == interpret) {
token = TOS;
}
opcode = memory[ip];
if (ngaValidatePackedOpcodes(opcode) != 0) {