Skip to content

Commit 554b96b

Browse files
don't need to lookup in GlobalEnv anymore
1 parent 4a302d2 commit 554b96b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ulisp-esp32.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5663,9 +5663,6 @@ object *nextitem (gfun_t gfun) {
56635663
if (buffer[0] == ':') { // handle keywords
56645664
bool found = false;
56655665
if (lookupbuiltin(buffer) != ENDFUNCTIONS) found = true;
5666-
for (object *e = GlobalEnv; e != nil && !found; e = cdr(e)) {
5667-
if (car(car(e)) == sym) found = true;
5668-
}
56695666
if (!found) sym = cons(bsymbol(QUOTE), cons(sym, nil)); // keywords quote themselves
56705667
}
56715668
return sym;

0 commit comments

Comments
 (0)